大约有 2,911 项符合查询结果, 库内数据总量为 31,671 项。 (搜索耗时: 0.0063 秒)
Laya_社区(1721) Laya3.0_api(672) Laya2.0_文档(152) Laya2.0_api(128) laya_api(122) Laya3.0_文档(89) Laya2.0_示例(16) Laya_示例(11)
...发者工具(v1.02.1802080)里报错,错误为"Scene: the .lh file root type must be Scene,please use other function to load this file."或"Sprite3D: The .lh file root type must be Sprite3D,please use other function to load this file." 跟了一下,发现__proto.onAsynLoaded这个function接收...
来源: Laya_社区 发布时间: 20180222
...目。** **官网下载地址** :[http://ldc2.layabox.com/layadownload/?type=layaairide](http://ldc2.layabox.com/layadownload/?type=layaairide) #### 2、下载并安装百度开发者工具 百度开发者工具主要用于小游戏产品的预览与调试、真机测试、上传提交等。是小...
来源: Laya2.0_文档 发布时间: 20210714
...ent.MOUSE_OUT, Event.MOUSE_WHEEL ]); static isMouseEvent(type) { return MOUSE_EVENTS.has(type); }脚本周期函数onMouseDrag, onMouseDragEnd在不注册鼠标事件的情况下无法触发。 创建一个2d空场景只放一个图片图片mouseEnable...
来源: Laya_社区 发布时间: 20231106
...片base64信息,可以发给服务器或者保存为图片 Sprite event(type:String, data:* = null):Boolean 派发事件。 EventDispatcher frameLoop(delay:int, caller:*, method:Function, args:Array = null, coverBefore:Boolean = true):void 定时重复执行某函数(基于帧率)。功能同Lay...
来源: laya_api 发布时间: 20170422
...ar video_url = '带有音轨的视频'; Laya.loader.load([{url: video_url, type: Laya.Loader.BUFFER }], Laya.Handler.create(this, createVideo)); var v; function createVideo() { var video_file = new Blob([Laya.loader.getRes(video_url)], {type: 'video/webm'}); var blob_url = URL.createObjectURL(video_...
来源: Laya_社区 发布时间: 20170515
... "name":"\u5757\u5c42 1", "opacity":1, "type":"tilelayer", "visible":true, "width":10, "x":0, "y":0 }], "nextobjectid":1, "orientation":"isometric", "renderorder":"right-down", "tiledversio...
来源: Laya_社区 发布时间: 20180321
...本代码 { "version": "0.2.0", "configurations": [ { "name": "layaAir", "type": "chrome", "request": "launch", "file": "${workspaceRoot}/bin/index.html", "runtimeExecutable": "${execPath}", "useBuildInServer": true, "sourceMaps": true, "webRoot": "${workspaceRoot}", "port": 9222, "fixedPort":false ...
来源: Laya_社区 发布时间: 20180205
... ohkei • 2017-08-03 14:19 @qq2503995928:我做过,就是用<input type="file"......... qq2503995928 • 2017-08-03 14:23 @ohkei:能否给我一个demo 感激不尽 ohkei • 2017-08-03 14:27 @qq2503995928:就是用上面的方法啊,你试一下就知道了 qq2503995928 • 2017-0...
来源: Laya_社区 发布时间: 20170801
...n/ 赞同来自: 加上cacheAsBitmap=true 没有起作用 canvas.toDataURL(type, encoderOptions); type:"image/jpeg","image/png" encoderOptions: 0.0-1.0 给toDataURL修改参数也没起作用 canvas.toBlob(function(b) { snapshot.src = URL.createObjectURL(b); },'image/jpeg',0.3); 把toDataUrl...
来源: Laya_社区 发布时间: 20180112
...I,'ui.abc.ABCPanelUI',_super); var __proto__=ABCPanelUI.prototype; __proto__.createChildren=function(){ laya.ui.Component.prototype.createChildren.call(this); this.createView(ABCPanelUI.uiView); ...
来源: Laya_社区 发布时间: 20161017