大约有 48 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0074 秒)
...默认值为0。以角度为单位。Sprite stage : Stage[read-only] 对舞台 stage 的引用。Sprite staticCache : Boolean 是否静态缓存此对象的当前帧的最终属性。为 true 时,子对象变化时不会自动更新缓存,但是可以通过调用 reCache 方法手动刷新。 ...
来源: laya_api 发布时间: 20170929
...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
...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
...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
...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
...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
... 本帧所有 3D 场景的提交渲染总耗时(ms)。它统计的是舞台渲染时对所有 Scene3D 的 renderSubmit() 调用耗时总和。 在项目中,这个指标最常用于回答两个问题: “卡顿是否主要来自 3D?”:把它与 T_AllRender2D、T_ScriptUpdateTime 对比...
来源: Laya3.0_文档 发布时间: 20260128
...Awake(): void { } /** * 组件被启用后执行,比如节点被添加到舞台后 * 此方法为虚方法,使用时重写覆盖即可 */ onEnable(): void { } /** * 组件被禁用时执行,比如从节点从舞台移除后 * 此方法为虚方法,使用时重写覆盖即可 */ onDisable(): ...
来源: Laya3.0_文档 发布时间: 20251010
... 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
...会在调用open方法后,延迟打开loading界面,在页面添加到舞台之后,关闭loading界面 Laya.Scene.showLoadingPage(param: any = null, delay: number = 500) 显示loading界面,打开参数,如果是scene,则会传递给 onOpened 方法。延迟打开时间,默认500毫秒...
来源: Laya3.0_文档 发布时间: 20251010