大约有 348 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0100 秒)
... 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为非空时此值才有效,staticCache...
来源: Laya3.0_api 发布时间: 20231115
... 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为非空时此值才有效,staticCache...
来源: Laya3.0_api 发布时间: 20231115
... 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为非空时此值才有效,staticCache...
来源: Laya3.0_api 发布时间: 20231115
... 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为非空时此值才有效,staticCache...
来源: Laya3.0_api 发布时间: 20231115
... 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为非空时此值才有效,staticCache...
来源: Laya3.0_api 发布时间: 20231115
...,0);//初始化引擎 var Hls:Object = Browser.window.Hls;//获取对Hls的引用; var plyr:Object = Browser.window.plyr//获取对plyr的引用; //获取video对象,就是页面上命名为“player”的标签; var video:Object =Browser.document.querySelector('#player'); if (Hls.isSupported(...
来源: Laya2.0_文档 发布时间: 20210715
...台后,可在此方法中进行一些初始化的操作,如获取组件引用、设置初始状态等。onDestroy方法在游戏对象被销毁时调用,可在此方法中释放游戏对象所占用的资源,如内存、纹理等,以避免内存泄漏和资源浪费。通过合理利用这...
来源: Laya3.0_文档 发布时间: 20251010
...使用Bullet物理引擎,Physics3D相关的物理库不需要勾选。 引用了`cannon.js`与`laya.cannonPhysics.js`引擎库后,就可以直接使用Cannon.js物理引擎的API了。 在LayaAir封装的物理API的设计上,基本上与Bullet引擎保持了一致,只是在命名前增加...
来源: Laya2.0_文档 发布时间: 20210715