大约有 1,653 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0054 秒)
Laya_社区(1154) Laya3.0_api(151) Laya2.0_api(106) laya_api(97) Laya2.0_文档(85) Laya3.0_文档(42) Laya2.0_示例(9) Laya_示例(9)
..., "name": "Chen"}'); traceMsg(test['id']); traceMsg(test['name']); var jsonURL:String = "res/json/config.json"; traceMsg("加载: " + jsonURL); Laya.loader.load(jsonURL, Handler.create(this, readJsonFinish, [jsonURL]), null, Loader.JSON); } private function readJsonFinish(url:String = null):void { t...
来源: Laya_社区 发布时间: 20180227
...structor 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 hasListener ...
来源: Laya3.0_api 发布时间: 20231115
...re2D getPixels():Uint8Array 返回图片像素。 DataTexture2D load(url:String, w:int = 0, h:int = 0, magfilter:int, minfilter:int):DataTexture2D[static] 加载Texture2D。 DataTexture2D onAsynLoaded(url:String, data:*, params:Array):void[override] private DataTexture2DProtected Methods ...
来源: laya_api 发布时间: 20170929
...ors constructor Properties _id clipsID data destroyedImmediately lock name url uuid DEBUG Accessors cpuMemory destroyed gpuMemory id obsolute referenceCount cpuMemory gpuMemory Methods _addReference _clearReference _removeReference _setCPUMemory _setCreateURL _setGPUMemory destroy event hasListener ...
来源: Laya3.0_api 发布时间: 20231115
...值为1。音量范围从 0(静音)至 1(最大音量)。 * @param url (default = null)声音播放地址。默认为null。为空表示设置所有音效(不包括背景音乐)的音量,不为空表示设置指定声音(背景音乐或音效)的音量。 */ static setSoundVolume(v...
来源: Laya3.0_文档 发布时间: 20251010
...dex Constructors constructor Properties _id destroyedImmediately lock name url uuid version DEBUG Accessors cpuMemory deps destroyed gpuMemory id obsolute referenceCount cpuMemory gpuMemory Methods _addReference _clearReference _removeReference _setCPUMemory _setCreateURL _setGPUMemory addDep addDep...
来源: Laya3.0_api 发布时间: 20231115
官网二进制图片做法苹果系统失败 var url:String = Browser.window.URL.createObjectURL(blob);//创建一个url对象; var htmlImg:HTMLImage = HTMLImage.create(url);//这里创建HTMLImage 这里要用HTMLImage.create; htmlImg.onload = function():void { var t:Texture =new Texture(html...
来源: Laya_社区 发布时间: 20170608
...de transform : Transform3D[read-only] 获取精灵变换。 Sprite3D url : String 获取资源的URL地址。 Sprite3DPublic Methods Hide Inherited Public Methods Show Inherited Public Methods MethodDefined By Sprite3D(name:String = null) 创建一个 Sprite3D 实例。 Sprite3D _getSor...
来源: laya_api 发布时间: 20170929
layadcc问题 layadcc F:/work/test/bestgame -cache -url http://www.layabox.com/bestgame/index.html 文档例子,这里的-url是什么作用,我每个包的url都不同,是不是可以共用一份就好,只是在layadccout目录里面修改对应的目录名就好 比如http://www.layabox.c...
来源: Laya_社区 发布时间: 20180403
... bit=null; } if (this.url && this===Laya.loader.getRes(this.url)) Laya.loader.clearRes(this.url); } } laya 2.0.2源码在Texture的 referenceCount不等于0的情况执行这个...
来源: Laya_社区 发布时间: 20190704