大约有 321 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0078 秒)
...rarchy BaseTexture Texture2D Index Constructors constructor Properties _id destroyedImmediately lock name url uuid DEBUG TEXTURE2D blackTexture errorTexture grayTexture normalTexture whiteTexture Accessors anisoLevel baseMipmapLevel compareMode cpuMemory defaultTexture destroyed dimension filterMode...
来源: Laya3.0_api 发布时间: 20231115
...时候,加载不到图片资源 问题是这样产生的: 调用scene.destroy销毁场景后,然后调用scene.gc去回收资源,然后调用scene.open打开关闭的场景发现原来图集的资源没有显示。 例如Scene.open("a"); Laya.timer.once(2000,function(){//2s后关闭场景 Sc...
来源: Laya_社区 发布时间: 20190109
...texture var texture = Laya.loader.getRes(url); 然后texture调用texture.destroy(true); 销毁图片, 那下次要使用该图片的时候,还需要重新加载吗,, 是不是我下次使用的时候,我可以直接去调用加载load( load里面会自己去判断这个纹理是否被...
来源: Laya_社区 发布时间: 20171226
...*[override] HTMLCanvas clear():void 清空画布内容。 HTMLCanvas destroy():void[override] 销毁。 HTMLCanvas getContext(contextID:String, other:* = null):Context 获取 Canvas 渲染上下文。 HTMLCanvas getMemSize():int 获取内存大小。 HTMLCanvas getTexture():Texture ...
来源: Laya2.0_api 发布时间: 20190513
...Texture Texture2DArray Index Constructors constructor Properties _id depth destroyedImmediately lock name url uuid DEBUG Accessors anisoLevel baseMipmapLevel compareMode cpuMemory defaultTexture destroyed dimension filterMode format gammaCorrection gammaSpace gpuMemory height id maxMipmapLevel mipma...
来源: Laya3.0_api 发布时间: 20231115
...rce BitmapFont Index Constructors constructor Properties _id autoScaleSize destroyedImmediately dict fontSize letterSpacing lineHeight lock maxWidth name padding texture tint url uuid DEBUG Accessors cpuMemory destroyed gpuMemory id obsolute referenceCount cpuMemory gpuMemory Methods _addReference _...
来源: Laya3.0_api 发布时间: 20231115
...ype:Node} 我觉得好麻烦啊 ,请问一下有别的方法吗 節點的destroy方法參數默認為true時是否會遞歸調用子對象的destroy方法? 单个场景加载的时候,使用的Scene3D.load方法的第一个例子,地面部分是白色的 请问官方API中有反余弦的方...
来源: Laya_社区 发布时间: 20190123
...his=this; var url=this._bitmap.url; if (!this._destroyed && (!this._bitmap || this._bitmap.destroyed)&& url){ Laya.loader.load(url,Handler.create(this,function(bitmap){ _$this._bitmap=bitmap; ...
来源: Laya_社区 发布时间: 20190311
...GL模式下正常 Canvas模式下 在短时间内连续调用drawTexture和destroy会报错 Uncaught TypeError: Failed to execute 'drawImage' on 'CanvasRenderingContext2D': The provided value is not of type '(CSSImageValue or HTMLImageElement or SVGImageElement or HTMLVideoElement or HTMLCanvasEleme...
来源: Laya_社区 发布时间: 20180118
...emplate2D Implements ISubmit Index Constructors 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 _removeReferen...
来源: Laya3.0_api 发布时间: 20231115