大约有 212 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0087 秒)
... from Text.stage Defined in laya/display/Sprite.ts:1656 对舞台 stage 的引用。 Returns Stage stateNum get stateNum(): number set stateNum(value: number): void Inherited from Button.stateNum Defined in laya/ui/Button.ts:351 指定对象的状态值,以数字表示。 默认值为3。此值决...
来源: Laya3.0_api 发布时间: 20231115
...AnimationPlayer Defined in laya/ani/bone/Skeleton.ts:177 得到播放器的引用 Returns AnimationPlayer rotation get rotation(): number set rotation(value: number): void Inherited from Text.rotation Defined in laya/display/Sprite.ts:777 旋转角度,默认值为0。以角度为单位。 Returns ...
来源: 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
...。destroy对象默认会把自己从父节点移除,并且清理自身引用关系,等待js自动垃圾回收机制回收。destroy后不能再使用。 destroy时会移除自身的事情监听,自身的timer监听,移除子对象及从父节点移除自己。 Camera destroyChildren():void...
来源: Laya2.0_api 发布时间: 20190513
...台后,可在此方法中进行一些初始化的操作,如获取组件引用、设置初始状态等。onDestroy方法在游戏对象被销毁时调用,可在此方法中释放游戏对象所占用的资源,如内存、纹理等,以避免内存泄漏和资源浪费。通过合理利用这...
来源: Laya3.0_文档 发布时间: 20251010
... from Text.stage Defined in laya/display/Sprite.ts:1656 对舞台 stage 的引用。 Returns Stage stateNum get stateNum(): number set stateNum(value: number): void Inherited from Button.stateNum Defined in laya/ui/Button.ts:351 指定对象的状态值,以数字表示。 默认值为3。此值决...
来源: Laya3.0_api 发布时间: 20231115
...Z() 对裁剪空间的坐标Z进行重映射。[ Camera.glsl ] 9.2.3 Shader引用glsl文件 在LayaAir IDE的.shader文件中,如果引用的是引擎内置的glsl(通常是在ShaderInit3D.ts中,通过Shader3D.ts的addInclude方法注册的),则直接引用即可。例如: #include "Colo...
来源: Laya3.0_文档 发布时间: 20251010
...很久才发现handler调用了recover,被对象池再次生成的对象引用覆盖了如: var a:Laya.Handler = Laya.Handler.create(null,testhandler,["a"]); console.log("a1:",a); a.recover(); console.log("a2:",a); var b:Laya.Handler = ...
来源: Laya_社区 发布时间: 20161109
... 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