• 首页
  • 动态
  • 案例
  • 引擎社区
  • API
  • 文档
  • 示例
  • 引擎下载

大约有 280 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0074 秒)

271. laya.ui.Button_API3.0 [ 33%]

... 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

272. laya.ui.CheckBox_API3.0 [ 33%]

... 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

273. laya.ui.Radio_API3.0 [ 33%]

... 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

274. laya.ui.TextInput_API3.0 [ 32%]

... 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

275. laya.ui.TextArea_API3.0 [ 32%]

... 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

276. WebSocket通信 · LayaAir3.3 · 引擎文档 · LAYABOX [ 29%]

... 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

277. 3D概念入门 · LayaAir3.3 · 引擎文档 · LAYABOX [ 28%]

...摄像机。 (图1-1) 当我们在写3D游戏的代码时,要先在舞台中添加3D场景,添加3D摄像机。再写其它代码。 摄像机在3D场景中,可以是唯一的,也可以放置多台摄像机,比如,在图1-2的3D场景中出现的弹窗换装面板,或者某些对...

来源: Laya3.0_文档 发布时间: 20251010

278. 零基础了解3D游戏开发基础概念(TypeScript-3D基础(TS)-LayaAir3D图形系统基础概念) [ 28%]

...摄像机。 ![](img/1.png) 当我们在写3D游戏的代码时,要先在舞台中添加3D场景,添加3D摄像机。再写其它代码。 摄像机在3D场景中,可以是唯一的,也可以放置多台摄像机,比如在3D场景中出现的弹窗换装面板,或者某些对战游戏的...

来源: Laya2.0_文档 发布时间: 20210714

279. 压缩纹理 · LayaAir3.3 · 引擎文档 · LAYABOX [ 26%]

...DE里Image组件自带的那张图,我们将宽高改成512*512后, 当舞台上什么显示也没有的时候,初始显存占用是2.31M,使用纹理压缩格式,只增加170K,加上初始大小最终为2.48M。而原图则增加1024K,达到3.31M。如图4-1所示。所以显存优化...

来源: Laya3.0_文档 发布时间: 20251010

280. laya.ui.Panel_API3.0 [ 26%]

... 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