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

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

131. laya.d3.core.RenderableSprite3D_API3.0 [ 53%]

...learTimer clone contains destroy destroyChildren event frameLoop frameOnce getChildAt getChildByName getChildIndex getComponent getComponents hasHideFlag hasListener isAncestorOf off offAll offAllCaller on onAfterDeserialize onAwake onDestroy onDisable onEnable once removeChild removeChildAt removeC...

来源: Laya3.0_api 发布时间: 20231115

132. 在没有碰撞条件情况下,为何会撞歪物体,导致旋转角度改变? (附源码Laya+Unity) [ 53%]

...复 Laya_Aaron 赞同来自: 常山赵子龙 let asteroid = asteroidBox.getChildAt(0) as Laya.Sprite3D;         asteroidBox.transform.position = new Laya.Vector3(Strong.rangeRandomFloat(-5, 5), 0, 15.4);         //asteroidBox.transform.position = new Laya.Vector3(00,...

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

133. laya.d3.core.light.DirectionLight_API3.0 [ 52%]

...learTimer clone contains destroy destroyChildren event frameLoop frameOnce getChildAt getChildByName getChildIndex getComponent getComponents hasHideFlag hasListener isAncestorOf off offAll offAllCaller on onAfterDeserialize onAwake onDestroy onDisable onEnable once removeChild removeChildAt removeC...

来源: Laya3.0_api 发布时间: 20231115

134. laya.display.Node [ 52%]

...一次某函数(基于帧率)。功能同Laya.timer.frameOnce()。 Node  getChildAt(index:int):Node 根据子节点的索引位置,获取子节点对象。 Node  getChildByName(name:String):Node 根据子节点的名字,获取子节点对象。 Node  getChildIndex(node:Node):int 根据子...

来源: Laya2.0_api 发布时间: 20190513

135. 3d特效克隆时,在手机会现卡顿情况,特效资源已经提前在加载 [ 52%]

...          if(item != null){                 item = item.getChildAt(0).clone();                 Instantiate(item);             }         }                  private function Instantiate(item:Sprite3D):void {                      ...

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

136. laya.d3.core.MeshTerrainSprite3D_API3.0 [ 52%]

...learTimer clone contains destroy destroyChildren event frameLoop frameOnce getChildAt getChildByName getChildIndex getComponent getComponents getHeight hasHideFlag hasListener isAncestorOf off offAll offAllCaller on onAfterDeserialize onAwake onDestroy onDisable onEnable once removeChild removeChild...

来源: Laya3.0_api 发布时间: 20231102

137. 列表组件 · LayaAir3.3 · 引擎文档 · LAYABOX [ 52%]

...,如果你需要更新某个item,自行调用renderListItem(索引,getChildAt(索引))就可以了。 如果要侦听点击某一个item的事件,不必每个item加上Click事件的侦听器,而是直接侦听列表的ClickItem事件: list.on(Laya.UIEvent.ClickItem, this, this.onClickIt...

来源: Laya3.0_文档 发布时间: 20251128

138. 资源加载(JavaScript-3D基础(JS)-LayaAir3D之资源加载) [ 51%]

...ew Laya.Vector3(-20, 13, 0)); //获取动画组件 pangziAnimator = pangzi.getChildAt(0).getComponent(Laya.Animator); //AnimationClip的加载要放在Avatar加载完成之后 Laya.AnimationClip.load("res/threeDimen/skinModel/BoneLinkScene/Assets/Model3D/PangZi-Take 001.lani", Laya.Handler.create(nu...

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

139. 调用动画结束on方法,报错this.zombieAnimator.on is not a function [ 51%]

...aya.Sprite3D):void { scene.addChild(zombie); this.zombieAnimator = (zombie.getChildAt(0) as Laya.Sprite3D).getComponent(Laya.Animator) as Laya.Animator;//获取Animator动画组件 this.zombieAnimator.on(Laya.Event.COMPLETE, this, this.onAniComplete); this.loadUI(); })); 附件 : --> Test.rar 2019-0...

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

140. layaAir2.3克隆以及获取节点重大bug!!! [ 51%]

...ya.Sprite3D = new Laya.Sprite3D();         a.addChild(guns_test.getChildAt(0).clone());         a.transform.translate(new Laya.Vector3(0,1.38,-60))//transform.localPositionX-=2;         a.transform.scale = new Laya.Vector3(10,10,10)         a.transform.rotate(n...

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