大约有 2,310 项符合查询结果, 库内数据总量为 31,625 项。 (搜索耗时: 0.0200 秒)
Laya_社区(1513) Laya2.0_文档(259) Laya_示例(138) Laya2.0_示例(101) Laya3.0_api(80) Laya3.0_文档(75) Laya2.0_api(74) laya_api(70)
...g.shapes = [shape]; sp.addComponentInstance(rig); this.Sprite.parent.addChild(sp); //设置ide中Sprite节点的shape有效 this.Sprite.getComponent(Laya.RigidBody).shapes = [shape]; 附件 : --> LayaProject_(2).zip 2025-09-12 3 条评论 免费帖 --> 分享 微博 QZONE 微信 没有...
来源: Laya_社区 发布时间: 20250912
... y zOrder Methods _initialize _processActive _setHeight _setSkin _setWidth addChild addChildAt addChildren addComponent addComponentInstance bubbleEvent callLater clearTimer contains customRender destroy destroyChildren drawToCanvas drawToTexture drawToTexture3D event frameLoop frameOnce freshLayout...
来源: Laya3.0_api 发布时间: 20231115
...t.color = "#ffffff"; //将文本内容添加到舞台 Laya.stage.addChild(txt); } } new LayaAir3D();
来源: Laya_社区 发布时间: 20180908
...e3d/LayaScene_SampleScene/Conventional/role.lh"); Laya.stage.addChild(rolde); 模型要加在3d场景上 不要加在stage上 2020-01-13 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 大奥 相关问题 2.0一不小心删...
来源: Laya_社区 发布时间: 20200113
... 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
....loadAnimation("ef_zjh_bipai.ani"); //添加到舞台 Laya.stage.addChild(tl); ani的头像组件和名字要怎么获取 洋葱 • 2018-05-31 11:33 要给动画里的组件赋值 Laya_Aaron • 2018-05-31 11:38 查看官网文档和引擎示例。了解引擎机制。再做开发比较...
来源: Laya_社区 发布时间: 20180531
... this.vmask.graphics.drawPie(0, 0, 20, -90, 270, "#000000"); this.progress.addChild(this.progressvalue); this.progressvalue.mask = this.vmask; this.changevalue = function(value) { this.targetvalue = value; target = parseInt(360 * value - 90); this.vmask.graphics.clear(); if(target == -90){ //th...
来源: Laya_社区 发布时间: 20180725
... 16:36 我unity场景中设置,代码中 this._PlayerLight = this._scene.addChild(new Laya.DirectionLight()) as Laya.DirectionLight; this._PlayerLight.color = new Laya.Vector3(0.7, 0.6, 0.6); this._PlayerLight.transform.worldMatrix.setForward(new Laya.Vector3(1, -1, 0)); this._PlayerLight.layer = ...
来源: Laya_社区 发布时间: 20190709
...er.create(this,function(sp){ //将加载的拖尾添加给示例盒子 box.addChild(sp); //为了体现效果,我们移动盒子和摄影机观察效果 Laya.timer.frameLoop(1,this,function(){ //使用差速来体现移动 box.transform.translate(new Laya.Vector3(0,0.05,0),false); camera.transform...
来源: Laya2.0_文档 发布时间: 20210715