大约有 382 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0086 秒)
... EventDispatcher offAllCaller(caller:*):EventDispatcher 移除caller为target的所有事件监听 EventDispatcher on(type:String, caller:*, listener:Function, args:Array = null):EventDispatcher 使用 EventDispatcher 对象注册指定类型的事件侦听器对象,以使侦听器能够接收...
来源: Laya2.0_api 发布时间: 20190513
...", "request": "launch", "file": "${workspaceRoot}/bin/index.html", "runtimeArgs": [ "--allow-file-access-from-files", "--disable-web-security" ], "sourceMaps": true, "webRoot": "${workspaceRoot}", "userDataDir": "${workspaceRoot}/.laya/chrome", "sourceMapPathOverrides": { "src/*": "${workspaceRoot}/...
来源: Laya2.0_文档 发布时间: 20210715
...amp; callBack.runWith([1, data]); } }); } static copyFileCallback(callBack,arg2){ callBack != null && callBack.runWith([0, arg2]); } static downLoadFile(fileUrl, fileType = "", callBack = null, encoding = "utf8") { if (window.navigator.userAgent.indexOf('MiniGame') < 0...
来源: Laya_社区 发布时间: 20200103
...侦听器。 EventDispatcher on(type:String, caller:*, listener:Function, args:Array = null):EventDispatcher 使用 EventDispatcher 对象注册指定类型的事件侦听器对象,以使侦听器能够接收事件通知。 EventDispatcher once(type:String, caller:*, listener:Function, args:Arra...
来源: laya_api 发布时间: 20170929
...,canvas模式下进行依然是画布缓存,webgl模式下使用renderTarget缓存。 webgl下renderTarget缓存模式缺点:会额外创建renderTarget对象,增加内存开销,缓存面积有最大2048限制,不断重绘时会增加CPU开销。优点:大幅减少drawcall,渲染性...
来源: Laya3.0_api 发布时间: 20231115
...ecompress-bin 31920 silly lifecycle jpeg-recompress-bin@4.0.0~postinstall: Args: [ '/d /s /c', 'node lib/install.js' ] 31921 silly lifecycle jpeg-recompress-bin@4.0.0~postinstall: Returned: code: 0 signal: null 31922 silly postinstall download@6.2.5 31923 info lifecycle download@6.2.5~postinstall:...
来源: Laya_社区 发布时间: 20200211
...,canvas模式下进行依然是画布缓存,webgl模式下使用renderTarget缓存。 webgl下renderTarget缓存模式缺点:会额外创建renderTarget对象,增加内存开销,缓存面积有最大2048限制,不断重绘时会增加CPU开销。优点:大幅减少drawcall,渲染性...
来源: Laya3.0_api 发布时间: 20231115
...,canvas模式下进行依然是画布缓存,webgl模式下使用renderTarget缓存。 webgl下renderTarget缓存模式缺点:会额外创建renderTarget对象,增加内存开销,缓存面积有最大2048限制,不断重绘时会增加CPU开销。优点:大幅减少drawcall,渲染性...
来源: Laya3.0_api 发布时间: 20231115
...s._callbacks[event] || []).push(fn); } public request(route, msg, cb) { if(arguments.length === 2 && typeof msg === 'function') { cb = msg; msg = {}; } else { msg = msg || {}; } route = route || msg.route; if(!route) { return; } this.reqId++; if(this.reqId>127){ this.reqId = 1; } var reqI...
来源: Laya_社区 发布时间: 20180119
...i("npm", ["install"], options); await IEditorEnv.utils.exeCli("quickgame", args, options); //假设quickgame已通过installCli安装 (6) 使用IEditorEnv.utils.exec执行任意本地命令。 (7) 使用IEditorEnv.utils.downloadFile下载文件。 (8)使用IEditorEnv.utils.ZipFileR解压...
来源: Laya3.0_文档 发布时间: 20251010