大约有 2,831 项符合查询结果, 库内数据总量为 31,625 项。 (搜索耗时: 0.0083 秒)
Laya_社区(1671) Laya3.0_api(668) Laya2.0_文档(133) Laya2.0_api(128) laya_api(122) Laya3.0_文档(82) Laya2.0_示例(16) Laya_示例(11)
...载,但是 var resArray:Array<any>=[ {url:"h5/UI.atlas",type:Laya.Loader.ATLAS}, {url:"h5/UI/so_main_base.png",type:Laya.Loader.IMAGE}, ]; Laya.loader.load(resArray,Laya.Handler.create(this,initUI)); 单图就是so_main_base.png,死活就加载不出来, 报错 [warn]...
来源: Laya_社区 发布时间: 20180626
... 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
...发者工具(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
...包到鸿蒙的折叠虚拟机上会有In the module named entry, the Abi type supported by the device does not match the Abi type configured in the C++ project.报错,应该是因为不支持armeabi-v7a的原因? 2025-11-18 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相...
来源: Laya_社区 发布时间: 20251118
...本代码 { "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
... function(data){ console.log(data); }); }); 自己写的html页面 <!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title></title> </head> <body> </body> <script type="text/javascript" src="js/jquery-3.1.1.min.js" ></script> <...
来源: Laya_社区 发布时间: 20181107
...Transform uvTransform uvs vertices getBounds init2 Legend Class Class with type parameter Constructor Property Method Object literal Variable Function Type alias Inherited property Inherited method Enumeration Interface
来源: Laya3.0_api 发布时间: 20231115
...然后使用`scale`属性对地图进行缩放。 示例代码如下: ```typescript //初始化舞台 Laya.init(Laya.Browser.width,Laya.Browser.height,Laya.WebGL); //创建TiledMap实例 this.tMap = new Laya.TiledMap(); //创建Rectangle实例,视口区域 var viewRect = new Laya.Rectangle(0,0,L...
来源: Laya2.0_文档 发布时间: 20210715
...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
...加载不到网络资源 var resArray = [ { url: "res/atlas/images.atlas", type : Laya.Loader.ATLAS}, // { url: "res/swf/flash.json", type: Laya.Loader.JSON}, // { url: "images/background.png", type : Laya.Loader.IMAGE}, ]; Laya.loader.load(resArray, Laya.Handler.create(this, this.onLoaded2)); ...
来源: Laya_社区 发布时间: 20180531