大约有 280 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0074 秒)
... Stage Inherited from Text.stage Defined in laya/display/Sprite.ts:1656 对舞台 stage 的引用。 Returns Stage stateNum get stateNum(): number set stateNum(value: number): void Defined in laya/ui/Button.ts:351 指定对象的状态值,以数字表示。 默认值为3。此值决定皮肤资源...
来源: Laya3.0_api 发布时间: 20231115
... Stage Inherited 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 指定对象的状态值,以数字表示。 默认值...
来源: Laya3.0_api 发布时间: 20231115
... Stage Inherited 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 指定对象的状态值,以数字表示。 默认值...
来源: 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
... 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
... socket: Laya.Socket; //组件被启用后执行,例如节点被添加到舞台后 onEnable(): void { this.socket = new Laya.Socket(); // 注册事件监听 this.socket.on(Laya.Event.OPEN, this, this.onSocketOpen); this.socket.on(Laya.Event.MESSAGE, this, this.onMessageReceived); this.socket.on(La...
来源: Laya3.0_文档 发布时间: 20251010
...摄像机。 (图1-1) 当我们在写3D游戏的代码时,要先在舞台中添加3D场景,添加3D摄像机。再写其它代码。 摄像机在3D场景中,可以是唯一的,也可以放置多台摄像机,比如,在图1-2的3D场景中出现的弹窗换装面板,或者某些对...
来源: Laya3.0_文档 发布时间: 20251010
...摄像机。  当我们在写3D游戏的代码时,要先在舞台中添加3D场景,添加3D摄像机。再写其它代码。 摄像机在3D场景中,可以是唯一的,也可以放置多台摄像机,比如在3D场景中出现的弹窗换装面板,或者某些对战游戏的...
来源: Laya2.0_文档 发布时间: 20210714
...DE里Image组件自带的那张图,我们将宽高改成512*512后, 当舞台上什么显示也没有的时候,初始显存占用是2.31M,使用纹理压缩格式,只增加170K,加上初始大小最终为2.48M。而原图则增加1024K,达到3.31M。如图4-1所示。所以显存优化...
来源: 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