大约有 153 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0066 秒)
...roup(group:String):void[static] 根据分组清理资源。 Loader clearTextureRes(url:String):void[static] 销毁Texture使用的图片资源,保留texture壳,如果下次渲染的时候,发现texture使用的图片资源不存在,则会自动恢复 相比clearRes,clearTextureRes只是...
来源: Laya2.0_api 发布时间: 20190513
...同一后缀不同作用的资源。 //例如,图片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
...,如果forceDispose=true,则忽略引用计数,直接销毁,比如Texture,默认为false clearResByGroup()method public function clearResByGroup(group:String):void 根据分组清理资源。 Parameters group:String — 分组名 clearUnLoaded()method public function clearUnLoaded():vo...
来源: laya_api 发布时间: 20170929
...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
...集类型,加载完成后返回图集json信息(并创建图集内小图Texture)。Loader BUFFER : String = arraybuffer[static] 二进制类型,加载完成后返回arraybuffer二进制数据。Loader FONT : String = font[static] 位图字体类型,加载完成后返回BitmapFont。Loade...
来源: laya_api 发布时间: 20170929
...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
...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
...llipse drawImage drawLine drawLines drawPath drawPie drawPoly drawRect drawTexture drawTextures drawTriangles fillBorderText fillText fillTexture getBounds loadImage removeCmd restore rotate save scale strokeText transform translate Constructors constructor new Graphics(): Graphics Defined in laya/d...
来源: Laya3.0_api 发布时间: 20231115
...llipse drawImage drawLine drawLines drawPath drawPie drawPoly drawRect drawTexture drawTextures drawTriangles fillBorderText fillText fillTexture getBounds loadImage removeCmd restore rotate save scale strokeText transform translate create recycle Constructors constructor new GraphicsAni(): Graphics...
来源: Laya3.0_api 发布时间: 20231115
...llipse drawImage drawLine drawLines drawPath drawPie drawPoly drawRect drawTexture drawTextures drawTriangles fillBorderText fillText fillTexture getBounds loadImage removeCmd restore rotate save scale setState strokeText transform translate Constructors constructor new AutoBitmap(): AutoBitmap Inhe...
来源: Laya3.0_api 发布时间: 20231115