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

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

131. 按照范例写的碰撞一直检测不到 this.outHitInfo.distance [ 52%]

...取场景模型中的角色移动碰撞区模型 var moveArea = this.scene.getChildAt(0).getChildByName("MoveArea"); //设置为不渲染 moveArea.meshRender.enable = false; //加载网格碰撞器组件 var sprite3d1MeshCollider=moveArea.addComponent(Laya.MeshCollider); //官方js例子里少了下...

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

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

...复 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(0, 0,...

来源: 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. 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

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

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

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

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

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

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

138. laya.d3.core.MeshSprite3D_API3.0 [ 51%]

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

139. laya.d3.core.particleshuriken.ShuriKenParticle3D_API3.0 [ 51%]

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

140. laya.d3.core.SkinnedMeshSprite3D_API3.0 [ 51%]

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