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

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

81. as中BoxCollider引入了,但是运行的时候还是提示null [ 67%]

...alse); var warehouseMeshSprite3D1 :MeshSprite3D = warehouse1.getChildAt(0).getChildByName("Mesh1") as MeshSprite3D; //添加盒型碰撞器 var boxCollider:BoxCollider = warehouseMeshSprite3D1.addComponent(BoxCollider) as BoxCollider; boxCollider.setFromBoundBox(warehouseMeshSprite3D1.meshFilter.sha...

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

82. laya.d3.terrain.Terrain [ 67%]

...:int):Node 根据子节点的索引位置,获取子节点对象。 Node getChildByName(name:String):Node 根据子节点的名字,获取子节点对象。 Node getChildIndex(node:Node):int 根据子节点对象,获取子节点的索引位置。 Node getComponent(clas:*):* 获得组件实例...

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

83. laya.d3.core.particleshuriken.ShuriKenParticle3D_API3.0 [ 66%]

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

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

84. laya.d3.core.SkinnedMeshSprite3D_API3.0 [ 66%]

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

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

85. laya.d3.core.RenderableSprite3D [ 66%]

...:int):Node 根据子节点的索引位置,获取子节点对象。 Node getChildByName(name:String):Node 根据子节点的名字,获取子节点对象。 Node getChildIndex(node:Node):int 根据子节点对象,获取子节点的索引位置。 Node getComponent(clas:*):* 获得组件实例...

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

86. 我竟然被射线检测这个小功能给难了一天了 [ 66%]

...) physics:Laya.PhysicsSimulation; onAwake():void{ this.camera = this.owner.getChildByName("Main Camera") as Laya.Camera; let scene: Laya.Scene3D = this.owner.scene as Laya.Scene3D;   this.physics=scene.physicsSimulation;     console.log("相机位置",(this.owner.getChildByName("Main Camera") as ...

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

87. laya.d3.core.light.LightSprite [ 66%]

...:int):Node 根据子节点的索引位置,获取子节点对象。 Node getChildByName(name:String):Node 根据子节点的名字,获取子节点对象。 Node getChildIndex(node:Node):int 根据子节点对象,获取子节点的索引位置。 Node getComponent(clas:*):* 获得组件实例...

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

88. laya.d3.core.SimpleSkinnedMeshSprite3D_API3.0 [ 66%]

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

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

89. JS中List容器里renderHandler和itemHandler渲染器如何使用 [ 66%]

...         var info = cell.dataSource;         var img_icon  = cell.getChildByName("img_icon");//图标         var lab_name  = cell.getChildByName("lab_name");//名称    }   itemHandler一般不用。 2017-08-08 0 1 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠...

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

90. 碰撞检测 outHitInfo.distance 一直等于 -1 ?(TS代码) [ 66%]

...出时会在角色外包裹一层sprite3D) this.roleModel = this.owner.getChildByName("girl1") as Laya.Sprite3D; //模型缩放 this.roleModel.transform.localScale = new Laya.Vector3(0.8,0.8,0.8); //获取角色动画组件 this.roleAni = this.roleModel.getComponentByType(Laya.Animator) as Laya.An...

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