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

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

31. laya.components.Script [ 70%]

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

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

32. 物理系统之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

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

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

35. bug,ChainCollider.points第二次设置,会报错! [ 70%]

...0,0,100,0)确实不会报错,但如果是已存在,比如先设置sp.getComponent(ChainCollider).points = "25,25,50,50";运行后,再改变值时(如果一次运行中连续赋值2次,是不会报错的,必须执行再赋值),就会报错。 如下使用2d示例项目中代码,改写...

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

36. laya.d3.core.MeshSprite3D_API3.0 [ 69%]

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

37. laya.d3.core.particleshuriken.ShuriKenParticle3D_API3.0 [ 69%]

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

38. laya.d3.core.SkinnedMeshSprite3D_API3.0 [ 69%]

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

39. laya.d3.core.trail.TrailSprite3D_API3.0 [ 69%]

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

40. laya.d3.core.SimpleSkinnedMeshSprite3D_API3.0 [ 69%]

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