大约有 701 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0045 秒)
Laya_社区(289) Laya3.0_api(156) laya_api(106) Laya2.0_api(98) Laya2.0_文档(24) Laya_示例(16) Laya3.0_文档(8) Laya2.0_示例(4)
...t gpuCompressFormat hasListener isCreateFromURL off offAll offAllCaller on once setImageData setPixlesData setSubPixelsData destroyUnusedResources Constructors constructor new Texture2DArray(width: number, height: number, depth: number, format: TextureFormat, mipmap?: boolean, canRead: boolean, sRGB...
来源: Laya3.0_api 发布时间: 20231115
....setRequestHeader('Content-Type','application/x-www-form-urlencoded'); xhr.once(Laya.Event.COMPLETE, this, this.completeHandler, [url, loader]); xhr.once(Laya.Event.ERROR, this, this.errorHandler); console.log("-----------------send------------------", url); xhr.send(url, "", "get", "arraybuffer"); ...
来源: Laya_社区 发布时间: 20180704
...ntimeout = function(){console.log("http timeout test: timeout")}; hr.once(Laya.Event.COMPLETE, this, ()=>{console.log("http timeout test: success");}); hr.once(Laya.Event.ERROR, this, (e: any)=>{console.log("http timeout test: error " + e.toString());}); console.log("http tim...
来源: Laya_社区 发布时间: 20171016
... 与内容相关的链接 提交 2 个回复 金风 赞同来自: this.xhr.once(Laya.Event.COMPLETE, this, this.CompleteHandler); this.xhr.once(Laya.Event.ERROR, this, this.ErrorHandler); this.xhr.on(Laya.Event.PROGRESS, this, this.ProgressHandler); this.xhr.send(Global.WebHost+this.currentRequest.u...
来源: Laya_社区 发布时间: 20200629
...36,640); var sp = new Laya.Sprite(); var xhr = new Laya.HttpRequest(); xhr.once(Laya.Event.COMPLETE,this,this.completeHandler); xhr.once(Laya.Event.ERROR,this,this.errorHandler); xhr.send("res/a.png","","get","arraybuffer"); } private completeHandler(data:Object):void{ //加载完成返回的data是...
来源: Laya2.0_文档 发布时间: 20210714
...释放! 2017-05-11 0 1 分享 微博 QZONE 微信 jay1298 赞同来自: once事件的也不会自动移除吗? 如果需要手动移除的话,在什么情况下移除比较好呢? 给界面添加一个Event.REMOVED事件,在这里面移除吗? 感谢解答! 2017-05-13 0 1 分...
来源: Laya_社区 发布时间: 20170511
...var sp:Sprite = new Sprite(); var xhr:HttpRequest = new HttpRequest(); xhr.once(Event.COMPLETE,this,completeHandler); xhr.once(Event.ERROR,this,errorHandler); xhr.send("res/monkey2.png","","get","arraybuffer"); } private function completeHandler(data:Object):void { //加载完成返回的data是arra...
来源: Laya2.0_文档 发布时间: 20210714
...es hasListener isCreateFromURL markAsUnreadbale off offAll offAllCaller on once setBoneIndices setBoneWeights setColors setIndices setNormals setPositions setTangents setUVs setVertices destroyUnusedResources load Constructors constructor new Mesh(isReadable?: boolean): Mesh Overrides Resource.__con...
来源: Laya3.0_api 发布时间: 20231115
...建,console给出的错误提示为: Uncaught TypeError: tex.once is not a function at Graphics.__proto.drawTexture (laya.core.js:1438) at onloaded (laya.core.js:1737) at Graphics.__proto.loadImage (laya.core.js:1733) at Function....
来源: Laya_社区 发布时间: 20171015
... console.log("111111 onFocus"); Laya.timer.once(2000, this, () => { console.log("222222 onFocus"); SoundManager.isPlay = false; SoundManager.Instance.playMusic111("resources/music/test/FY-007...
来源: Laya_社区 发布时间: 20250930