大约有 171 项符合查询结果, 库内数据总量为 30,778 项。 (搜索耗时: 0.0046 秒)
...plet = new Laya.Templet(); this.templet.on(Laya.Event.COMPLETE, this, this.parseComplete); this.templet.on(Laya.Event.ERROR, this, this.onError); this.templet.loadAni("comp/skeleton/spineboy.sk"); } protected onExit() {}; private onError() { console.log("parse error"); } private parseComplete() { //...
来源: Laya_社区 发布时间: 20180905
...//D:/LayaTest/TestHtml2.2.0/bin/libs/laya.html.js:1213:39) at Function._parseXML (file:///D:/LayaTest/TestHtml2.2.0/bin/libs/laya.html.js:1270:38) at Function._parseXML (file:///D:/LayaTest/TestHtml2.2.0/bin/libs/laya.html.js:1228:31) at Function.parse (file:///D:/LayaTest/TestHtml2.2.0/bin...
来源: Laya_社区 发布时间: 20191028
....templet.loadAni(this.aniPath); this.templet.on(Event.COMPLETE, this, this.parseComplete); this.templet.on(Event.ERROR, this, this.onError) } private parseComplete(): void { this.skeleton = this.templet.buildArmature(); Laya.stage.addChild(this.skeleton); this.skeleton.pos(Browser.width / 2, Browser...
来源: Laya2.0_文档 发布时间: 20210715
...X的头帘适配,代码如下: if( window.conch ) { var devInfo = JSON.parse(window.conch.config.getDeviceInfo()); if (devInfo.devicename === 'iPhone10,3' || devInfo.devicename === 'iPhone10,6') { // iPhone X适配 } } Copyright ©Layabox 2022 all right reserved,powered by LayaAir Engine更新...
来源: Laya3.0_文档 发布时间: 20241025
...rarchy(activeChangeComponents:Array):void[override] ShuriKenParticle3D _parse(data:Object, spriteMap:Object):void[override] ShuriKenParticle3D _setBelongScene(scene:Node):void[override] RenderableSprite3D _setUnBelongScene():void[override] RenderableSprite3D addChild(node:Node):Node 添加子...
来源: Laya2.0_api 发布时间: 20190513
...ect/laya-air/myLaya1/bin/js/bundle.js:14640:23) at Function.Scene3D._parse (file:///D:/fish_project/laya-air/myLaya1/bin/js/bundle.js:65462:21) 2018-11-15 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 没事喝两杯 相关问题 ...
来源: Laya_社区 发布时间: 20181115
...tObject:*, srcRoot:Node, dstRoot:Node):void[override] 克隆。 Sprite3D _parse(data:Object, spriteMap:Object):void[override] Sprite3D _parse(data:*, propertyParams:Object = null, constructParams:Array = null):Sprite3D[static] private Sprite3D _setBelongScene(scene:Node):void[override] Renderable...
来源: Laya2.0_api 发布时间: 20190513
...t frame of tracey.items) { // frame.fileName const sourceMapContent = JSON.parse(readFileSync(mapFilePath, 'utf8')); const consumer = await new sourceMap.SourceMapConsumer(sourceMapContent); // console.log(frame); // originalPosition不仅仅是行列信息,还有错误发生的文件 originalPosi...
来源: Laya_社区 发布时间: 20190528
...,代码如下: ```javascript if( window.conch ) { var devInfo = JSON.parse(window.conch.config.getDeviceInfo()); if (devInfo.devicename === 'iPhone10,3' || devInfo.devicename === 'iPhone10,6') { // iPhone X适配 } } ``` ## 10. 线程模式 LayaNative2.0支持JavaScript脚本逻辑和渲染逻...
来源: Laya2.0_文档 发布时间: 20210715
...let.loadAni(this.aniPath); this.templet.on(Laya.Event.COMPLETE, this, this.parseComplete); this.templet.on(Laya.Event.ERROR, this, this.onError) } private parseComplete(): void { this.skeleton = this.templet.buildArmature(); Laya.stage.addChild(this.skeleton); this.skeleton.pos(Laya.Browser.width / ...
来源: Laya2.0_文档 发布时间: 20210715