大约有 197 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0064 秒)
...的层MapLayer texture : Texture设置一个Texture实例,并显示此图片(如果之前有其他绘制,则会被清除掉)。等同于graphics.clear();graphics.drawTexture()Sprite timer : Timer时间控制器,默认为Laya.timer。Node transform : Matrix 对象的矩阵信息。通过...
来源: laya_api 发布时间: 20170929
...单位。 Text texture : Texture设置一个Texture实例,并显示此图片(如果之前有其他绘制,则会被清除掉)。等同于graphics.clear();graphics.drawTexture()Sprite textWidth : Number[read-only] 表示文本的宽度,以像素为单位。 Text timer : Timer时间控...
来源: laya_api 发布时间: 20170929
关于要自定shader的同学 1.自定义shader 的时候出现了图片小于512就会出现极小的情况 可以使用 drawToCanvas从游戏中截屏当前sprite 的绘制 let new_texture = sprite.drawToCanvas(width, height, 0, 0) 这里的 width 和height 指的是当前的sprite在游戏中...
来源: Laya_社区 发布时间: 20180531
...象。 ScrollBar texture : Texture设置一个Texture实例,并显示此图片(如果之前有其他绘制,则会被清除掉)。等同于graphics.clear();graphics.drawTexture()Sprite thumbPercent : Number获取或设置一个值,该值表示滑条长度比例,值为:(0-1)。 S...
来源: laya_api 发布时间: 20170929
... 实例。 Label texture : Texture设置一个Texture实例,并显示此图片(如果之前有其他绘制,则会被清除掉)。等同于graphics.clear();graphics.drawTexture()Sprite timer : Timer时间控制器,默认为Laya.timer。Node toolTip : * 鼠标悬停提示。 可以赋值...
来源: laya_api 发布时间: 20170929
...游耗用内存大的问题是如何解决的? 请问LayaAir中如何使图片以圆形的方式显示? LayaAir3D UnityPlugin 使用须知-版本更新-问题解答(最新版本:1.7.16) 请问有没有方法能够获取“鼠标是否处于按下状态”? 请问laya有没有地图编辑...
来源: Laya_社区 发布时间: 20180524
...签。 Component texture : Texture设置一个Texture实例,并显示此图片(如果之前有其他绘制,则会被清除掉)。等同于graphics.clear();graphics.drawTexture()Sprite timer : Timer时间控制器,默认为Laya.timer。Node toolTip : * 鼠标悬停提示。 可以赋值...
来源: laya_api 发布时间: 20170929
...意: 1.Sprite texture : Texture设置一个Texture实例,并显示此图片(如果之前有其他绘制,则会被清除掉)。等同于graphics.clear();graphics.drawTexture()Sprite timer : Timer时间控制器,默认为Laya.timer。Node transform : Matrix 对象的矩阵信息。通...
来源: laya_api 发布时间: 20170929
...anvas() //开放数据域canvas // this.view.image_rank_list //要绘制的图片 // var rankTexture = new Laya.Texture(wxMgr.getOpenDataCanvas()); // rankTexture.bitmap.alwaysChange = true;//小游戏使用,非常费,每帧刷新 // console.log(rankTexture); // var img = wxMgr.getOpenDataCanvas...
来源: Laya_社区 发布时间: 20180426
...意: 1.Sprite texture : Texture设置一个Texture实例,并显示此图片(如果之前有其他绘制,则会被清除掉)。等同于graphics.clear();graphics.drawTexture()Sprite timer : Timer时间控制器,默认为Laya.timer。Node total : int[read-only] 得到总帧数据 Skel...
来源: laya_api 发布时间: 20170929