大约有 262 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0057 秒)
...nterval = 30; ani.index = 1; ani.play(); Laya.stage.addChild(ani); postMessage(ani);//将获取到的数据发送会主线程 } 但是会报错,Uncaught ReferenceError: Laya is not defined laya怎么定义? 2018-01-08 0 0 分享 微博 QZONE 微信 为什么...
来源: Laya_社区 发布时间: 20180108
...7 Uncaught Error: Sprite3D:Node type must Sprite3D. at Scene.__proto.addChild (laya.d3.js:25407) 附件 : --> 2017-10-12 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 3 个回复 haiboannacom 赞同来自: 第一个图...
来源: Laya_社区 发布时间: 20171012
...CK,null,function(){ //TO GamePage2 console.log("left onclick"); Laya.stage.addChild(new GameView); }); //分享快乐 this.StartRight.on(Laya.Event.CLICK,null,function(){ //超链接 onLink(href); }); //天猫Logo this.img_TianMao.on(Laya.Event.CLICK,null,function(){ //超链接 onLink(href); })...
来源: Laya_社区 发布时间: 20180810
...一行图片正常显示,但是方图 //Laya.stage.addChild(cMask); //测试了坐标区域,完全正确正好在图像上 })); 2018-11-19 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 安...
来源: Laya_社区 发布时间: 20181119
... = mStartX; mArmature.y = mStartY; //mArmature.scale(0.5, 0.5); Laya.stage.addChild(mArmature); //mArmature.on(Event.LABEL, this, onEvent); mArmature.on(Event.STOPPED, this, completeHandler); mArmature.on(Event.CLICK, this, onChangeSkin); mArmature.showSkinByName(mSkinList[0]); play(); //changeSkin(...
来源: Laya_社区 发布时间: 20170818
...age方法为什么不触发complete? var logo = new Sprite(); Laya.stage.addChild(logo); logo.loadImage("img/load_logo.png", 0, 0, 0, 0, Handler.create(this, function(){ trace("complete!!"); })); 我在laya1.0这么写,触发complete没毛病,为什么到了2.0这个complete不触发?谁给...
来源: Laya_社区 发布时间: 20181010
...eo = new Laya.Video(); video.loop = true; video.load(blob_url); Laya.stage.addChild(video); video.play(); v = video; Laya.timer.once(5000, this, function() { v.destroy(); }); }顺便提供一个简单的修复方法: laya.device.js Line 623: 增加以下代码while(this.videoElement.childElementC...
来源: Laya_社区 发布时间: 20170515
...Ins = new Particle2D(settings); Laya.stage.addChild(partIns); // 开始发射粒子 partIns.emitter.start(0.5); // 播放 partIns.play(); ...
来源: Laya_社区 发布时间: 20190808
...is3D numChildren parent scene timer url Methods _initialize _processActive addChild addChildAt addChildren addComponent addComponentInstance bubbleEvent callLater clearTimer contains destroy destroyChildren event frameLoop frameOnce getChildAt getChildByName getChildIndex getComponent getComponents ...
来源: Laya3.0_api 发布时间: 20231115
...Sprite = Laya.Sprite3D.load("model/build/warehouse1/warehouse1.lh"); scene.addChild(modelSprite); modelSprite.transform.rotate(new Laya.Vector3(0, 90, 0), false, false);无法实现旋转效果 也不会报任何错误,打断点是确定这个modelSprite是sprite3D对象 附件上传了我的工...
来源: Laya_社区 发布时间: 20180104