大约有 570 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0059 秒)
Laya_社区(344) Laya3.0_api(159) Laya2.0_api(20) Laya2.0_文档(19) laya_api(17) Laya3.0_文档(8) Laya2.0_示例(3)
...t bitmap(value: BaseTexture): void Defined in laya/resource/Texture.ts:214 获取位图。 Returns BaseTexture 位图。 Defined in laya/resource/Texture.ts:222 设置位图。 Parameters value: BaseTexture Returns void 位图。 cpuMemory get cpuMemory(): number Inherited from Resource.cpuMemory De...
来源: Laya3.0_api 发布时间: 20231115
...且不会随着绘制内容的变化而变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 cacheContent cacheContent: boolean Defined in laya/ui/List.ts:221 是否缓存内容,如果数据...
来源: Laya3.0_api 发布时间: 20231115
...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
...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
...string Inherited from Resource.url Defined in laya/resource/Resource.ts:99 获取资源的URL地址。 uuid uuid: string Inherited from Resource.uuid Defined in laya/resource/Resource.ts:101 获取资源的UUID。 Static DEBUG DEBUG: boolean = false Inherited from Resource.DEBUG Defined in laya/reso...
来源: Laya3.0_api 发布时间: 20231102
...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
...载Texture还是Texture2D,他们在内存中都只有一份,但可以获取不同类型。 Laya.loader.load("1.png").then((res)=> { /* res是Texture */ }); Laya.loader.load("1.png", Loader.Texture2D).then((res)=> { /* res是Texture2D */ }); Laya.loader.getRes("1.png"); //res是Texture Laya...
来源: Laya3.0_文档 发布时间: 20230406
...string Inherited from Resource.url Defined in laya/resource/Resource.ts:99 获取资源的URL地址。 uuid uuid: string Inherited from Resource.uuid Defined in laya/resource/Resource.ts:101 获取资源的UUID。 Static DEBUG DEBUG: boolean = false Inherited from Resource.DEBUG Defined in laya/reso...
来源: Laya3.0_api 发布时间: 20231102
...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
...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