大约有 498 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0055 秒)
Laya3.0_api(153) Laya_社区(116) laya_api(104) Laya2.0_api(96) Laya2.0_文档(14) Laya3.0_文档(12) Laya2.0_示例(2) Laya_示例(1)
...cmd compile let process = exec("layaair2-cmd compile"); process.stdout.on("data", (data) => { console.log(data); }); process.stderr.on("data", (data) => { console.error(data); }); process.on("exit", (code, signal) => { console.log("success"); // console.log(code, signal); // 编译结束,...
来源: Laya_社区 发布时间: 20200908
...的响应结果。 Hierarchy EventDispatcher HttpRequest Index Accessors data http url Methods event hasListener off offAll offAllCaller on once reset send Accessors data get data(): any Defined in laya/net/HttpRequest.ts:192 返回的数据。 Returns any http get http(): any Defined in laya/net/Ht...
来源: Laya3.0_api 发布时间: 20231115
...ya.stage.addChild(list); // 设置数据项为对应图片的路径 var data = []; for (var i = 0; i < 10; ++i) { data.push("../../res/ui/listskins/1.jpg"); data.push("../../res/ui/listskins/2.jpg"); data.push("../../res/ui/listskins/3.jpg"); data.push("../../res/ui/listskins/4.jpg"); data.pus...
来源: Laya_社区 发布时间: 20180731
...会获得三个触摸点信息Laya.stage.on(Laya.Event.MOUSE_DOWN, this, (data: Laya.Event) => { let str = ""; if (data.touches) { for (let i = 0; i < data.touches.length; i++) { str += ` {${i} : ${data.touches[i].pos.toString()}}`; } } console.log("drag mouse down", str); }); Laya.stage.on(La...
来源: Laya_社区 发布时间: 20230823
...然后我改了源代码。WorkerLoader里面 __proto.imageLoaded=function(data){ if (!data.dataType || data.dataType !="imageBitmap"){ this.event(data.url,null); return; }; var bitmap; va...
来源: Laya_社区 发布时间: 20171120
...-urlencoded 代码如下: static httpRequest(method:string, url:string, data:any, headers:Array<string>, cb:(err:Error, data?:any)=>void) { let req = new Request(); req.on(Event.COMPLETE, this, (data) => { cb(null, data); }); req.on(Event.ERROR, this, (err) => { console.error(err);...
来源: Laya_社区 发布时间: 20170123
...andler(this, this.renderList); Laya.stage.addChild(easeFunctionsList); let data = []; data.push('backIn', 'backOut', 'backInOut'); data.push('bounceIn', 'bounceOut', 'bounceInOut'); data.push('circIn', 'circOut', 'circInOut'); data.push('cubicIn', 'cubicOut', 'cubicInOut'); data.push('elasticIn', 'e...
来源: Laya2.0_示例 发布时间: 20260814
...new Handler(this, renderList); Laya.stage.addChild(easeFunctionsList); var data = []; data.push('backIn', 'backOut', 'backInOut'); data.push('bounceIn', 'bounceOut', 'bounceInOut'); data.push('circIn', 'circOut', 'circInOut'); data.push('cubicIn', 'cubicOut', 'cubicInOut'); data.push('elasticIn', 'e...
来源: Laya_示例 发布时间: 20260814
...rarchy Resource TextResource Index Constructors constructor Properties _id data destroyedImmediately format lock name url uuid DEBUG Accessors cpuMemory destroyed gpuMemory id obsolute referenceCount cpuMemory gpuMemory Methods _addReference _clearReference _removeReference _setCPUMemory _setCreateU...
来源: Laya3.0_api 发布时间: 20231115
...e AnimatorController Index Constructors 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 _set...
来源: Laya3.0_api 发布时间: 20231115