大约有 698 项符合查询结果, 库内数据总量为 30,935 项。 (搜索耗时: 0.0046 秒)
Laya_社区(286) Laya3.0_api(156) laya_api(106) Laya2.0_api(98) Laya2.0_文档(24) Laya_示例(16) Laya3.0_文档(8) Laya2.0_示例(4)
...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...
来源: Laya_社区 发布时间: 20171011
...aya.HttpRequest(); var url = "http://thirdqq.qlogo.cn/g%3Fb% ... 3B%3B xhr.once(Laya.Event.COMPLETE, this, this.completeHandler, [url, 1]); xhr.once(Laya.Event.ERROR, this, this.errorHandler); xhr.send(url, "", "get", "arraybuffer"); } } GameMain.prototype.completeHandler = function (URL, id, data) ...
来源: Laya_社区 发布时间: 20180629
...All Inherited Externals Only exported Menu Globals "laya/components/AnimationClip2D" AnimationClip2D Class AnimationClip2D Hierarchy Resource AnimationClip2D Index Constructors constructor Properties _id destroyedImmediately islooping lock name url uuid DEBUG Accessors cpuMemory destroyed gpuMemory ...
来源: Laya3.0_api 发布时间: 20231115
...CK, this, onDecreaseAlpha1); //定时执行一次(间隔时间) Laya.timer.once(3000, this, onComplete1); } function onDecreaseAlpha2(e) { //移除鼠标单击事件 button2.off(Event.CLICK, this, onDecreaseAlpha2); //定时执行一次(基于帧率) Laya.timer.frameOnce(60, this, onComplete2); } fu...
来源: Laya_示例 发布时间: 20250312
...hasListener isCreateFromURL load loadedmetadata off offAll offAllCaller on once pause play destroyUnusedResources Constructors constructor new VideoTexture(): VideoTexture Overrides BaseTexture.constructor Defined in laya/media/VideoTexture.ts:33 创建VideoTexture对象, Returns VideoTexture Prop...
来源: Laya3.0_api 发布时间: 20231115
...his, this.onDecreaseAlpha1); //定时执行一次(间隔时间) Laya.timer.once(3000, this, this.onComplete1); } onDecreaseAlpha2(e) { const Event = Laya.Event; //移除鼠标单击事件 this.button2.off(Event.CLICK, this, this.onDecreaseAlpha2); //定时执行一次(基于帧率) Laya.timer.frameO...
来源: Laya2.0_示例 发布时间: 20250312
...ter clearTimer clone contains destroy destroyChildren event frameLoop frameOnce getChildAt getChildByName getChildIndex getComponent getComponents hasHideFlag hasListener isAncestorOf off offAll offAllCaller on onAfterDeserialize onAwake onDestroy onDisable onEnable once removeChild removeChildAt re...
来源: Laya3.0_api 发布时间: 20231115
...: donloadImageTest: function (ss) { var xhr = new Laya.HttpRequest(); xhr.once(Laya.Event.COMPLETE, this, completeHandler); xhr.once(Laya.Event.ERROR, this, errorHandler); xhr.send("http://192.168.10.108:35553/re ... ot%3B, "", "get", "arraybuffer"); function completeHandler(data) { //加载完成...
来源: Laya_社区 发布时间: 20180201
...载进度 - 由于进度太快无法看到一个虚假的效果 Laya.timer.once(i * 100, this, function() { this.Progress.schedule.value = num; this.Progress.percentage.text = (num * 100).toFixed() + '%'; if (num >= 1) { this.run(); } }); }; p.run = function() { Laya.timer.once(300, this, functio...
来源: Laya_社区 发布时间: 20170803
...果。 1. 帧间隔 1.1 定时执行一次 (基于帧率) Laya.timer.frameOnce,定义如下: /** * 定时执行一次(基于帧率)。 * @param delay 延迟几帧(单位为帧)。 * @param caller 执行域(this)。 * @param method 定时器回调函数。 * @param args 回调参数。 * @param c...
来源: Laya3.0_文档 发布时间: 20240910