大约有 162 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0083 秒)
...且不会随着绘制内容的变化而变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 hitTestPrior hitTestPrior: boolean = false Inherited from Text.hitTestPrior Defined in laya/display...
来源: Laya3.0_api 发布时间: 20231115
...ies Show Inherited Public Properties PropertyDefined By active : Boolean 获取自身是否激活。 Node activeInHierarchy : Boolean[read-only] 获取在场景中是否激活。 Node alpha : Number透明度,值为0-1,默认值为1,表示不透明。更改alpha值会影响drawcall。Sprite...
来源: Laya2.0_api 发布时间: 20190513
... wx.loadSubpackage() 返回的一个 LoadSubpackageTask,可以通过它获取当前下载进度。 参考微信小游戏官方文档。 打印的参数的意义分别是: progress:下载进度; totalBytesWritten:已经下载的数据长度; totalBytesExpectedToWrite:预期需要下载...
来源: Laya3.0_文档 发布时间: 20251010
...tring Inherited from Resource.url Defined in laya/resource/Resource.ts:107 获取资源的URL地址。 uuid uuid: string Inherited from Resource.uuid Defined in laya/resource/Resource.ts:109 获取资源的UUID。 Static DEBUG DEBUG: boolean = false Inherited from Resource.DEBUG Defined in laya/reso...
来源: Laya3.0_api 发布时间: 20231115
... getRes getRes(url: string): any Defined in laya/net/LoaderManager.ts:410 获取指定资源地址的资源。 Parameters url: string 资源地址。 Returns any 返回资源。 hasListener hasListener(type: string): boolean Inherited from EventDispatcher.hasListener Defined in laya/events/EventDisp...
来源: Laya3.0_api 发布时间: 20231102
...evel:"1",author:"官方发布",info:"我可以-四子"}; //获取关卡信息后格式化 let t= gf.getGuanqiaInfo(tmp); this.text_guanqia_info.text = gf.format_GuanqiaInfo(t); this.name = "pic-"+ tmp; var glow...
来源: Laya_社区 发布时间: 20210122
...PUNCHTHROUGH_ALPHA1_ETC2、COMPRESSED_SRGB8_PUNCHTHROUGH_ALPHA1_ETC2 可以获取到WEBGL_compressed_texture_pvrtc对象,但获取不到pvr类型的值(IOS15以上不再支持) 不支持 抖音小游戏Android端 RGBA_ASTC4x4、RGBA_ASTC6x6、RGBA_ASTC8x8、RGBA_ASTC10x10、RGBA_ASTC12x12、SRGB8_...
来源: Laya3.0_文档 发布时间: 20251010
...las getAtlas(url: string): AtlasResource Defined in laya/net/Loader.ts:688 获取指定资源地址的图集地址列表。 Parameters url: string 图集地址。 Returns AtlasResource 返回地址集合。 Static getBaseTexture getBaseTexture<T>(url: string): T Defined in laya/net/Loader.ts:6...
来源: Laya3.0_api 发布时间: 20231115
...this.index].x; this._position.z = this.resPath[this.index++].y; //HeightMap获取高度数据 this._position.y = this.terrainSprite.getHeight(this._position.x, this._position.z); if (isNaN(this._position.y)) { this._position.y = this.moveSprite3D.transform.position.y; } this._tarPosition.x = this._p...
来源: Laya3.0_文档 发布时间: 20230303
...且不会随着绘制内容的变化而变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 hitTestPrior hitTestPrior: boolean = false Inherited from Text.hitTestPrior Defined in laya/display...
来源: Laya3.0_api 发布时间: 20231115