大约有 1,326 项符合查询结果, 库内数据总量为 30,906 项。 (搜索耗时: 0.0057 秒)
...gt; { let sp3: Laya.Sprite3D = res.create() as Laya.Sprite3D; this.scene3d.addChild(sp3); }); }) Laya.loader.loadPackage("sub2", this.printProgress).then(() => { Laya.loader.load("sub2/Sphere.lh").then((res: any) => { let sp3 = res.create(); this.scene3d.addChild(sp3); }); }) } printProgress(r...
来源: Laya3.0_文档 发布时间: 20250103
...te3D(Laya.Mesh.load("fish/denglongyu/denglongyuANI-denglongyu.lm")); scene.addChild(fish); var fishmaterial = new Laya.StandardMaterial(); //漫反射贴图 fishmaterial.diffuseTexture = Laya.Texture2D.load("fish/denglongyu/denglongyu1.jpg"); fish.meshRender.material = fishmaterial; fish.transform.l...
来源: Laya_社区 发布时间: 20170918
... //加载完成获取到了Scene3d Laya.stage.addChild(scene); })); 附件 : --> ball.rar 2021-04-28 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 3 个回复 157*****593 赞同...
来源: Laya_社区 发布时间: 20210428
... ball=new Sprite(); ball.graphics.drawCircle(0,0,50,"#FF00FF"); Laya.stage.addChild(ball); ball.x=275; ball.y=200; Laya.timer.frameLoop(1,this,onFrame); } private function onFrame():void { // TODO Auto Generated method stub if (ball.x>540||ball.x<10) { xflag=! xflag; } if (xflag) { ball.x+=v; ...
来源: Laya_社区 发布时间: 20160424
...ed; // 设置播放间隔(单位:毫秒) this.animation.play(); this.addChild( this.animation ); this.animation.width 一直为0 2016-11-17 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 qq_别天神 赞同...
来源: Laya_社区 发布时间: 20161117
... this.addLabel.mousethrough = false; this.addLabel.mouseEnabled = true; sp.addChild(this.addLabel); 仍然能够点击下面的按钮.这个要怎么处理? 2017-07-26 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回...
来源: Laya_社区 发布时间: 20170726
...s, function() { console.info(video.width + ',' + video.height); Laya.stage.addChild(video); video.play(); }); video.load(video_url); Laya版本是1.7.4Beta Chrome 58下运行报错 laya.device.js增加跨域属性后解决 附件 : --> 2017-05-08 添加评论 免费帖 --> 分享 微博 QZONE ...
来源: Laya_社区 发布时间: 20170508
....loadAnimation("ef_zjh_bipai.ani"); //添加到舞台 Laya.stage.addChild(tl); ani的头像组件和名字要怎么获取 洋葱 • 2018-05-31 11:33 要给动画里的组件赋值 Laya_Aaron • 2018-05-31 11:38 查看官网文档和引擎示例。了解引擎机制。再做开发比较...
来源: Laya_社区 发布时间: 20180531
...lect); list.renderHandler = new Handler(this, this.updateItem); Laya.stage.addChild(list); // 设置数据项为对应图片的路径 var data: Array = []; for (var i: number = 0; i < 10; ++i) { data.push("res/ui/listskins/1.jpg"); data.push("res/ui/listskins/2.jpg"); data.push("res/ui/listskins/3.j...
来源: Laya2.0_文档 发布时间: 20210715
...{ sp = new Particle2D(settings); sp.emitter.start(); sp.play(); Laya.stage.addChild(sp); sp.x = Laya.stage.width / 2; sp.y = Laya.stage.height / 2; } })(); ---------------------------------------------------------------------------------------- ----------------------------------------------------...
来源: Laya_社区 发布时间: 20200229