大约有 124 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0042 秒)
...ctors constructor Properties _id destroyedImmediately dir frames lock name textures url uuid DEBUG Accessors cpuMemory destroyed gpuMemory id obsolute referenceCount cpuMemory gpuMemory Methods _addReference _clearReference _removeReference _setCPUMemory _setCreateURL _setGPUMemory destroy event has...
来源: Laya3.0_api 发布时间: 20231115
...rotected All Inherited Externals Only exported Menu Globals "laya/resource/Texture" Texture Class Texture Texture 是一个纹理处理类。 Hierarchy Resource Texture Index Constructors constructor Properties _id _sizeGrid _stateNum destroyedImmediately lock name offsetX offsetY sourceHeight sourc...
来源: Laya3.0_api 发布时间: 20231115
...ediately dict fontSize letterSpacing lineHeight lock maxWidth name padding texture tint url uuid DEBUG Accessors cpuMemory destroyed gpuMemory id obsolute referenceCount cpuMemory gpuMemory Methods _addReference _clearReference _removeReference _setCPUMemory _setCreateURL _setGPUMemory destroy event...
来源: Laya3.0_api 发布时间: 20231115
...) export class LoaderDemo extends Laya.Script { onAwake(): void { this.loadTexture("resources/image/monkey2.png", 500);//需要在resources/image放入相应的资源 this.loadTexture("https://layaair.com/3.x/demo/resources/res/apes/monkey2.png"); } /**加载并显示图片 */ loadTexture(url: strin...
来源: Laya3.0_文档 发布时间: 20251010
...rotected All Inherited Externals Only exported Menu Globals "laya/resource/Texture2D" Texture2D Class Texture2D Texture2D 类用于生成2D纹理。 Hierarchy BaseTexture Texture2D Index Constructors constructor Properties _id destroyedImmediately lock name url uuid DEBUG TEXTURE2D blackTexture erro...
来源: Laya3.0_api 发布时间: 20231115
...tors constructor Properties _id destroyedImmediately lock name settings sv texture url uuid x y DEBUG activeBlendType Accessors cpuMemory destroyed gpuMemory id obsolute referenceCount cpuMemory gpuMemory Methods _addReference _clearReference _removeReference _setCPUMemory _setCreateURL _setGPUMemor...
来源: Laya3.0_api 发布时间: 20231115
...rotected All Inherited Externals Only exported Menu Globals "laya/resource/Texture2DArray" Texture2DArray Class Texture2DArray 2D 纹理 数组 Hierarchy BaseTexture Texture2DArray Index Constructors constructor Properties _id depth destroyedImmediately lock name url uuid DEBUG Accessors anisoLevel ...
来源: Laya3.0_api 发布时间: 20231115
...同一后缀不同作用的资源。 //例如,图片xxx.png被定义为TextureCube,使用load("xxx.png", Laya.Loader.TEXTURECUBE)。得到的是TextureCube。 }); 1.2 加载多个资源(用数组) var url1 = "xxx.png"; var url2 = "xxxxx.png"; var type1 = Laya.Loader.IMAGE; var type2 = Laya.L...
来源: Laya3.0_文档 发布时间: 20251010
...y _setCreateURL _setGPUMemory clear destroy event getContext getMemSize getTexture hasListener isCreateFromURL off offAll offAllCaller on once release size toBase64 toBase64Async destroyUnusedResources Constructors constructor new HTMLCanvas(createCanvas?: boolean): HTMLCanvas Overrides Resource.__c...
来源: Laya3.0_api 发布时间: 20231115
...hArr rate skinDataArray skinDic skinSlotDisplayDataArr srcBoneMatrixArr subTextureDic tfArr url uuid yReverseMatrix DEBUG interpolation Accessors cpuMemory destroyed gpuMemory id obsolute referenceCount cpuMemory gpuMemory Methods _addReference _clearReference _parse _removeReference _setCPUMemory _...
来源: Laya3.0_api 发布时间: 20231115