大约有 185 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0075 秒)
... { LayaRender.body_impl(render, body); for (var i = 1; i < body.parts.length; i++) { LayaRender.body(render, body.parts); } } 备注: 由于comp是组合body,其本身也是body,LayaRender.Bod...
来源: Laya_社区 发布时间: 20180625
...认配置 if(!!options && typeof options === "object"){ for(var i in options){ settings[i] = options[i]; } } var fontSize = settings.canvasWidth / (settings.text.length + 1); settings.font = fontSize + "px 'Microsoft Yahei'" //获取2d的上线文开始设置相关属性 ...
来源: Laya_社区 发布时间: 20180814
...ist.splice(index,1); } } public function GetHandler(key:String):IHandler { for(var i:int=0;i<list.length;i+=1) { var handler:IHandler=list.GetHandler(key); if(handler!=null){ return handler; } } return null; } public function Send(data:String):void { socket.send(data); } private function onSock...
来源: Laya_社区 发布时间: 20170724
...执行 private function loadComplete2():void { Laya.stage.addChild(view); for(var i:int=1;i<=7;i++) { var tempItem:ItemUi=new ItemUi() Laya.stage.addChild(tempItem); tempItem.x=i*100; tempItem.y=200; tempItem.setAnimated(true); arr.push(tempItem); // this.playAni(tempItem,new Point(0,-20),0); } }...
来源: Laya_社区 发布时间: 20180524
...w CmShowCharacterStruct(); // gltf 模型资源对象 struct.gltfURL = {}; for (const key in this.gltfFile) { struct.gltfURL[key] = this.gltfFile[key]; } // 个性化配置对象 / 可省略 struct.customConfigURL = "res/self/gltfMode/gltfBin/face.json"; // makeup装扮对象 / 可省略 struct.make...
来源: Laya2.0_文档 发布时间: 20210715
...ift(); GetLenght=():number=>{return this.data.length;} Dispose=()=>{ for(let i in this.data){ Laya.Pool.recover("Dispose",this.data[i]); } } } 2019-12-06 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 0 个回复 为...
来源: Laya_社区 发布时间: 20191206
...)] Most NODE_OPTIONs are not supported in packaged apps. See documentation for more details. engine libs bin://engine/libs/spine-core-3.8.js,bin://engine/libs/laya.bullet.js,bin://engine/libs/laya.box2D.js loadLibs: 63.001220703125 ms initLayaStage: 112.833984375 ms installPackages: 0.740966796875 m...
来源: Laya_社区 发布时间: 20250102
...app/com.yywgames.wpby.cn-1/lib/arm/liblayaair.so (_ZN2v88internal4Heap24PerformGarbageCollectionENS0_16GarbageCollectorENS_15GCCallbackFlagsE+316) #04 pc 0055bca8 /data/app/com.yywgames.wpby.cn-1/lib/arm/liblayaair.so (_ZN2v88internal4Heap14CollectGarbageENS0_16GarbageCollectorEPKcS4_N...
来源: Laya_社区 发布时间: 20180814
...ugmentCodeLocation(err, pos, curSource, id); err.id = id; err.hook = 'transform'; // return pluginContext.error(err); },该方法虽然可以解决 tslib 找不到的问题,并且编译后输出的文件可以正常运行,但是也屏蔽了其他错误,如果代码中有其他错误,最终...
来源: Laya_社区 发布时间: 20201223
... TypeError: Cannot read property 'length' of undefined for (var i = 0; i < text.length; i++) { ^^ TypeError: Cannot read property 'length' of undefined at conchTextCanvas.measureText ...
来源: Laya_社区 发布时间: 20190829