• 首页
  • 动态
  • 案例
  • 引擎社区
  • API
  • 文档
  • 示例
  • 引擎下载

大约有 2,310 项符合查询结果, 库内数据总量为 31,625 项。 (搜索耗时: 0.0200 秒)

1481. [LayaAir3]动态添加2d物理引擎shape无效 [ 55%]

...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

1482. laya.ui.Radio_API3.0 [ 55%]

... 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

1483. 3D项目Label组件增加最少15M内存 [ 55%]

...t.color = "#ffffff"; //将文本内容添加到舞台 Laya.stage.addChild(txt); } } new LayaAir3D();

来源: Laya_社区 发布时间: 20180908

1484. 还是同样系统BUG?场景ls可以加载,lh资源加载错误? [ 55%]

...e3d/LayaScene_SampleScene/Conventional/role.lh");        Laya.stage.addChild(rolde); 模型要加在3d场景上 不要加在stage上 2020-01-13 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 大奥 相关问题 2.0一不小心删...

来源: Laya_社区 发布时间: 20200113

1485. 分享:LayaAir实现曲线运动 [ 55%]

... 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

1486. layaAir中Animation无法获得宽高,很多逻辑无法判断 [ 55%]

...ed; // 设置播放间隔(单位:毫秒) this.animation.play(); this.addChild( this.animation ); this.animation.width 一直为0 2016-11-17 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 qq_别天神 赞同...

来源: Laya_社区 发布时间: 20161117

1487. 播放一个动画 播放之前头像和名字是要从服务器获取的 请问要怎么弄 [ 54%]

....loadAnimation("ef_zjh_bipai.ani"); //添加到舞台 Laya.stage.addChild(tl); ani的头像组件和名字要怎么获取 洋葱 • 2018-05-31 11:33 要给动画里的组件赋值 Laya_Aaron • 2018-05-31 11:38 查看官网文档和引擎示例。了解引擎机制。再做开发比较...

来源: Laya_社区 发布时间: 20180531

1488. 求绘制遮罩会引起黑屏的解决办法 [ 54%]

... 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

1489. laya的各种light支持culling mask吗? [ 54%]

... 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

1490. 在Unity中导出拖尾系统(JavaScript-3D基础(JS)-LayaAir3D之拖尾系统) [ 54%]

...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