大约有 4,289 项符合查询结果, 库内数据总量为 31,629 项。 (搜索耗时: 0.0083 秒)
Laya_社区(3820) Laya3.0_api(145) Laya2.0_文档(140) Laya2.0_api(77) laya_api(56) Laya3.0_文档(39) Laya_示例(7) Laya2.0_示例(5)
... Stage Inherited from Text.stage Defined in laya/display/Sprite.ts:1656 对舞台 stage 的引用。 Returns Stage staticCache get staticCache(): boolean set staticCache(value: boolean): void Inherited from Text.staticCache Defined in laya/display/Sprite.ts:389 设置cacheAs为非空时此值才有...
来源: Laya3.0_api 发布时间: 20231115
...会自动缓存至资源库中。 ProgressBar stage : Stage[read-only] 对舞台 stage 的引用。Sprite staticCache : Boolean 是否静态缓存此对象的当前帧的最终属性。为 true 时,子对象变化时不会自动更新缓存,但是可以通过调用 reCache 方法手动刷新...
来源: laya_api 发布时间: 20170929
...默认值为0。以角度为单位。Sprite stage : Stage[read-only] 对舞台 stage 的引用。Sprite staticCache : Boolean设置cacheAs为非空时此值才有效,staticCache=true时,子对象变化时不会自动更新缓存,只能通过调用reCache方法手动刷新。Sprite texture :...
来源: laya_api 发布时间: 20170422
... Stage Inherited from Text.stage Defined in laya/display/Sprite.ts:1656 对舞台 stage 的引用。 Returns Stage staticCache get staticCache(): boolean set staticCache(value: boolean): void Inherited from Text.staticCache Defined in laya/display/Sprite.ts:389 设置cacheAs为非空时此值才有...
来源: Laya3.0_api 发布时间: 20231115
...默认值为0。以角度为单位。Sprite stage : Stage[read-only] 对舞台 stage 的引用。Sprite staticCache : Boolean 是否静态缓存此对象的当前帧的最终属性。为 true 时,子对象变化时不会自动更新缓存,但是可以通过调用 reCache 方法手动刷新。 ...
来源: laya_api 发布时间: 20170929
...a/components/Component.ts:312 组件被禁用时执行,比如从节点从舞台移除后 Returns void Optional onLateUpdate onLateUpdate(): void Inherited from Component.onLateUpdate Defined in laya/components/Component.ts:297 每帧更新时执行,在update之后执行,尽量不要在这里...
来源: Laya3.0_api 发布时间: 20231115
...})(); 调用 // 创建岛屿 this.island = new IsLand(); // 岛屿添加到舞台 Laya.stage.addChild(this.island); this.island.autoSize = true; this.island.move(100,100); 没有一起移动 2017-07-20 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内...
来源: Laya_社区 发布时间: 20170720
...调出性能统计面板。 示例Demo.ts编写代码如下: //初始化舞台 Laya.init(1136, 640); //调用性能统计面板方法,(0,0)为面板位置坐标 Laya.Stat.show(0,0); Tips:要注意大小写。 2、FPS相关的介绍 2.1 FPS概述 FPS是每秒传输帧数(Frames Per Second)的缩...
来源: Laya3.0_文档 发布时间: 20251010
...ree.width) / 2; tree.y = (Laya.stage.height - tree.height) / 2; //加载到舞台 Laya.stage.addChild(tree); } } } import laya.ui.Box; import laya.ui.Clip; import laya.ui.Label; // IDE中生成的此类对应的json对象,在此作为参考,对应树形结构中的单元格Item类 // {"child": [...
来源: Laya2.0_文档 发布时间: 20210715
...d in laya/display/Node.ts:728 组件被禁用时执行,比如从节点从舞台移除后 此方法为虚方法,使用时重写覆盖即可 Returns void onEnable onEnable(): void Inherited from Node.onEnable Defined in laya/display/Node.ts:720 组件被启用后执行,比如节点被添加到...
来源: Laya3.0_api 发布时间: 20231102