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

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

31. laya.d3.core.RenderableSprite3D_API3.0 [ 70%]

...Children event frameLoop frameOnce getChildAt getChildByName getChildIndex getComponent getComponents hasHideFlag hasListener isAncestorOf off offAll offAllCaller on onAfterDeserialize onAwake onDestroy onDisable onEnable once removeChild removeChildAt removeChildByName removeChildren removeSelf rep...

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

32. 物理系统之ConfigurableConstraint(JavaScript-3D基础(JS)-LayaAir3D之物理系统) [ 70%]

...dRigidBodySphere(new Vector3(7, 3, 0),1); var boxARigid:Rigidbody3D = boxA.getComponent(Rigidbody3D); boxARigid.overrideGravity = true; boxARigid.isKinematic = true; var boxB:MeshSprite3D = this.addRigidBodyBox(new Vector3(10, 0, 0),1); (boxB.meshRenderer.material).albedoColor = new Vector4(1, 0, 0,...

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

33. 调试辅助工具打开以后,运行是黑屏,有人知道咋回事吗 [ 70%]

...Prafab加了.SphereCollider 和rigidbody,但是在laya里我只能获取到getComponent(Laya.Rigidbody3D);而getComponent(Laya.SphereColliderShape)却是空值。咋回事呢 156*****130 • 2020-12-15 16:42 我把2.7.1版本的替换进去还是黑屏 157*****593 • 2020-12-15 17:08 有demo吗,...

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

34. 物理系统之ConfigurableConstraint(TypeScript-3D基础(TS)-LayaAir3D之物理系统) [ 70%]

...dRigidBodySphere(new Vector3(7, 3, 0),1); var boxARigid:Rigidbody3D = boxA.getComponent(Rigidbody3D); boxARigid.overrideGravity = true; boxARigid.isKinematic = true; var boxB:MeshSprite3D = this.addRigidBodyBox(new Vector3(10, 0, 0),1); (boxB.meshRenderer.material).albedoColor = new Vector4(1, 0, 0,...

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

35. laya.d3.core.light.DirectionLight_API3.0 [ 70%]

...Children event frameLoop frameOnce getChildAt getChildByName getChildIndex getComponent getComponents hasHideFlag hasListener isAncestorOf off offAll offAllCaller on onAfterDeserialize onAwake onDestroy onDisable onEnable once removeChild removeChildAt removeChildByName removeChildren removeSelf rep...

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

36. laya.components.Script [ 70%]

...在update之后执行,尽量不要在这里写大循环逻辑或者使用getComponent方法 此方法为虚方法,使用时重写覆盖即可 Script  onMouseDown(e:Event):void 鼠标按下时执行 此方法为虚方法,使用时重写覆盖即可 Script  onMouseMove(e:Event):void 鼠标...

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

37. 2D灯光与网格 · LayaAir3.3 · 引擎文档 · LAYABOX [ 70%]

...此方法只执行一次 onAwake(): void { this.light1Render = this.light1.getComponent(Laya.FreeformLight2D); this.mesh1Render = this.mesh1.getComponent(Laya.Mesh2DRender); this.mesh2Render = this.mesh2.getComponent(Laya.Mesh2DRender); //设置mesh1位于0层(Default层) this.mesh1Render.layer ...

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

38. 物理系统之ConfigurableConstraint(ActionScript-3D基础(AS3)-LayaAir3D之物理系统) [ 70%]

...dRigidBodySphere(new Vector3(7, 3, 0),1); var boxARigid:Rigidbody3D = boxA.getComponent(Rigidbody3D); boxARigid.overrideGravity = true; boxARigid.isKinematic = true; var boxB:MeshSprite3D = this.addRigidBodyBox(new Vector3(10, 0, 0),1); (boxB.meshRenderer.material as BlinnPhongMaterial).albedoColor ...

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

39. laya.display.Node [ 70%]

...ode):int 根据子节点对象,获取子节点的索引位置。 Node  getComponent(clas:*):* 获得组件实例,如果没有则返回为null Node  getComponents(clas:*):Array 获得组件实例,如果没有则返回为null Node hasListener(type:String):Boolean 检查 EventDispatcher 对...

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

40. laya.d3.core.MeshTerrainSprite3D_API3.0 [ 70%]

...Children event frameLoop frameOnce getChildAt getChildByName getChildIndex getComponent getComponents getHeight hasHideFlag hasListener isAncestorOf off offAll offAllCaller on onAfterDeserialize onAwake onDestroy onDisable onEnable once removeChild removeChildAt removeChildByName removeChildren remo...

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