大约有 277 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0090 秒)
... 本帧所有 3D 场景的提交渲染总耗时(ms)。它统计的是舞台渲染时对所有 Scene3D 的 renderSubmit() 调用耗时总和。 在项目中,这个指标最常用于回答两个问题: “卡顿是否主要来自 3D?”:把它与 T_AllRender2D、T_ScriptUpdateTime 对比...
来源: Laya3.0_文档 发布时间: 20260128
...a/components/Component.ts:312 组件被禁用时执行,比如从节点从舞台移除后 Returns void onEnable onEnable(): void Inherited from Component.onEnable Defined in laya/components/Component.ts:281 组件被启用后执行,比如节点被添加到舞台后 Returns void Optional onLateUpd...
来源: Laya3.0_api 发布时间: 20231115
... 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
...,设置了它的皮肤、位置、宽高、网格等信息,并添加到舞台上。 package { import laya.ui.ProgressBar; import laya.utils.Handler; public class ProgressBar_Example { private var progressBar:ProgressBar; public function ProgressBar_Example() { Laya.init(640, 800);//设置游戏...
来源: Laya3.0_api 发布时间: 20231115
...d in laya/display/Node.ts:738 组件被禁用时执行,比如从节点从舞台移除后 此方法为虚方法,使用时重写覆盖即可 Returns void onEnable onEnable(): void Inherited from Node.onEnable Defined in laya/display/Node.ts:730 组件被启用后执行,比如节点被添加到...
来源: Laya3.0_api 发布时间: 20231115
... 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
...d in laya/display/Node.ts:738 组件被禁用时执行,比如从节点从舞台移除后 此方法为虚方法,使用时重写覆盖即可 Returns void onEnable onEnable(): void Inherited from Node.onEnable Defined in laya/display/Node.ts:730 组件被启用后执行,比如节点被添加到...
来源: Laya3.0_api 发布时间: 20231115
...d in laya/display/Node.ts:738 组件被禁用时执行,比如从节点从舞台移除后 此方法为虚方法,使用时重写覆盖即可 Returns void onEnable onEnable(): void Inherited from Node.onEnable Defined in laya/display/Node.ts:730 组件被启用后执行,比如节点被添加到...
来源: Laya3.0_api 发布时间: 20231115
...即可 Node onDisable():void 组件被禁用时执行,比如从节点从舞台移除后 此方法为虚方法,使用时重写覆盖即可 Node onEnable():void 组件被启用后执行,比如节点被添加到舞台后 此方法为虚方法,使用时重写覆盖即可 Node removeAllLayer...
来源: Laya2.0_api 发布时间: 20190513
...d in laya/display/Node.ts:738 组件被禁用时执行,比如从节点从舞台移除后 此方法为虚方法,使用时重写覆盖即可 Returns void onEnable onEnable(): void Inherited from Node.onEnable Defined in laya/display/Node.ts:730 组件被启用后执行,比如节点被添加到...
来源: Laya3.0_api 发布时间: 20231115