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

大约有 247 项符合查询结果, 库内数据总量为 30,935 项。 (搜索耗时: 0.0040 秒)

81. 十几秒以后动画渲染时间变长,帧率变慢,是怎么回事? [ 79%]

...if(!this._body_ani) // { // this._body_ani = new Laya.Animation(); // this.addChild(this._body_ani); // } // this._body_ani.play(0, true, doll_item.animation_name);  this._box = box;  this._fly_site.w = this._box._area.w - 20; this._box.graphics.drawLine( 0, this._fly_site.h, this._box._area.w, th...

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

82. 动画挂点(TypeScript-3D基础(TS)-LayaAir3D之Animator动画) [ 79%]

...ntional/SceneMonkey.ls",Laya.Handler.create(this,function(res){ Laya.stage.addChild(res); //用于挂点的精灵 var box = new Laya.MeshSprite3D(Laya.PrimitiveMesh.createBox(1,1,1)); var material = new Laya.BlinnPhongMaterial(); Laya.Texture2D.load("res/layabox.png", Laya.Handler.create(this, funct...

来源: Laya2.0_文档 发布时间: 20210715

83. 动画挂点(JavaScript-3D基础(JS)-LayaAir3D之Animator动画) [ 79%]

...ntional/SceneMonkey.ls",Laya.Handler.create(this,function(res){ Laya.stage.addChild(res); //用于挂点的精灵 var box = new Laya.MeshSprite3D(Laya.PrimitiveMesh.createBox(1,1,1)); var material = new Laya.BlinnPhongMaterial(); Laya.Texture2D.load("res/layabox.png", Laya.Handler.create(this, funct...

来源: Laya2.0_文档 发布时间: 20210714

84. 动画挂点(ActionScript-3D基础(AS3)-LayaAir3D之Animator动画) [ 78%]

...SceneMonkey.ls",Handler.create(this,function(res:Scene3D):void{ Laya.stage.addChild(res); //用于挂点的精灵 var box: MeshSprite3D = new MeshSprite3D(PrimitiveMesh.createBox(1,1,1)); var material: BlinnPhongMaterial = new BlinnPhongMaterial(); Texture2D.load("res/layabox.png", Handler.create(th...

来源: Laya2.0_文档 发布时间: 20210714

85. box2d引擎报错问题 [ 78%]

...s.createEffect, this); effect.pos(this._sp.x, this._sp.y); this._sp.parent.addChild(effect); effect.play(0, false); this.owner.removeSelf(); Laya.Pool.recover("flyCat", this.owner) } } createEffect(): Laya.Animation { let ani: Laya.Animation = new Laya.Animation(); ani.loadAnimation("catFly.ani"); a...

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

86. 改编模型宽度 [ 78%]

...要吧正方形拉成长方形。我应该怎么做呢。var box = scene.addChild(new Laya.MeshSprite3D(new Laya.BoxMesh(0.5, 0.5, 0.5))); // var _scale = new Laya.Vector3(2,2,2); box._geometryFilter._sharedMesh._height=1 console.log(box._geometryFilter._sharedMesh) 2018-12-13 添加评论 免费帖...

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

87. 绘图graphics中的鼠标事件 [ 78%]

...台上添加了好几个节点,用于存放绘图,结构是 this.box.addChild(this.data); Laya.stage.addChild(this.box) 其中鼠标事件MOUSE_DOWN点击需要获取的是this.data的内容 this.data是由一块画布,几个点构成,我用循环函数创建几个点,并且设置名称p...

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

88. animation在自定义box节点下不显示 [ 77%]

... 在stage上面也能显示吗? Laya_Aaron • 2018-07-20 10:35 在哪里addchild的。 135*****576 • 2018-07-20 10:40 在主循环里面添加的 Laya_Aaron • 2018-07-20 10:41 @135*****576:加给谁了,那个父节点有加进舞台吗 135*****576 • 2018-07-20 10:43 加给自己创建的...

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

89. UI-RefreshList [ 77%]

...reshLoading.bottom = 10; this.refreshLoading.visible = false; this.baseBox.addChild(this.refreshLoading); // 加载动画 this.loadingAni = new Animation(); this.loadingAni.loadAnimation("res/ui/refreshList/ani/Refresh.ani"); this.loadingAni.pos(27, 36); this.loadingAni.autoPlay = true; this.refresh...

来源: Laya2.0_示例 发布时间: 20250312

90. 1.7.17beta,微信小游戏预览加载问题 [ 77%]

...代码为: var scene = Laya.Scene.load("res/testScene.ls"); Laya.stage.addChild(scene); 真机预览报错为: request:fail invalid url "res/testScene.ls" 测试机型为:iPhoneX 2018-03-12 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相...

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