大约有 5,390 项符合查询结果, 库内数据总量为 31,629 项。 (搜索耗时: 0.0110 秒)
Laya_社区(4481) Laya2.0_文档(299) Laya3.0_api(212) Laya2.0_api(150) Laya3.0_文档(137) laya_api(103) Laya_示例(4) Laya2.0_示例(4)
...t.onReset Defined in laya/components/Component.ts:270 重置组件参数到默认值,如果实现了这个函数,则组件会被重置并且自动回收到对象池,方便下次复用 如果没有重置,则不进行回收复用 Returns void Optional onStart onStart(): void Inherited from Com...
来源: Laya3.0_api 发布时间: 20231115
... Canvas:由三个数值组成,只有设置 CacheAs 后才会有值,默认为0/0/0。从左到右数值的意义分别为:每帧重绘的画布数量 / 缓存类型为"normal"类型的画布数量 / 缓存类型为"bitmap"类型的画布数量。 Hierarchy Stat Index Properties AllShow AllTog...
来源: Laya3.0_api 发布时间: 20231115
...i < resNumber; i++) { //如果玩家没有此项数据,就设置一个默认值 if (res.data[i].KVDataList.length == 0) { let item = { nickname: res.data[i].nickname, rankScore: "1000", avatarUrl: res.data[i].avatarUrl }; it.data.push(item); } else { let item = { nickname: res.data[i].nickname,...
来源: Laya3.0_文档 发布时间: 20251010
...t.onReset Defined in laya/components/Component.ts:270 重置组件参数到默认值,如果实现了这个函数,则组件会被重置并且自动回收到对象池,方便下次复用 如果没有重置,则不进行回收复用 Returns void Optional onStart onStart(): void Inherited from Com...
来源: Laya3.0_api 发布时间: 20231115
...rom BaseTexture.defaultTexture Defined in laya/resource/BaseTexture.ts:272 默认贴图 Returns BaseTexture depthStencilFormat get depthStencilFormat(): RenderTargetFormat Defined in laya/resource/RenderTexture.ts:140 Returns RenderTargetFormat depthStencilTexture get depthStencilTexture(): BaseText...
来源: Laya3.0_api 发布时间: 20231115
...rom BaseTexture.defaultTexture Defined in laya/resource/BaseTexture.ts:272 默认贴图 Returns BaseTexture depthStencilFormat get depthStencilFormat(): RenderTargetFormat Inherited from RenderTexture.depthStencilFormat Defined in laya/resource/RenderTexture.ts:140 Returns RenderTargetFormat depthSt...
来源: Laya3.0_api 发布时间: 20231115
...rom BaseTexture.defaultTexture Defined in laya/resource/BaseTexture.ts:272 默认贴图 Returns BaseTexture depthStencilFormat get depthStencilFormat(): RenderTargetFormat Inherited from RenderTexture.depthStencilFormat Defined in laya/resource/RenderTexture.ts:140 Returns RenderTargetFormat depthSt...
来源: Laya3.0_api 发布时间: 20231115
...NDOMCURVE : int[static] ShuriKenParticle3D timer : Timer时间控制器,默认为Laya.timer。Node transform : Transform3D[read-only] 获取精灵变换。 Sprite3D url : String 获取资源的URL地址。 Sprite3DPublic Methods Hide Inherited Public Methods Show Inherited Public Methods Metho...
来源: laya_api 发布时间: 20170929
...即刻尝试连接。 // 注意:host 参数不需要“ws://”前缀,默认就是ws let socket = new Laya.Socket("192.168.1.2", 8899); //如果需要wss安全协议,第5个参数需要为true。 // let socket = new Laya.Socket("192.168.1.2", 8899, null, null, true); 2.1.2 connect 方法 先...
来源: Laya3.0_文档 发布时间: 20251010
...t.onReset Defined in laya/components/Component.ts:270 重置组件参数到默认值,如果实现了这个函数,则组件会被重置并且自动回收到对象池,方便下次复用 如果没有重置,则不进行回收复用 Returns void Optional onStart onStart(): void Inherited from Com...
来源: Laya3.0_api 发布时间: 20231115