大约有 459 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0089 秒)
...}): T Inherited from Node.getComponent Defined in laya/display/Node.ts:968 获得组件实例,如果没有则返回为null Type parameters T: Component Parameters componentType: {} 组建类型 Returns T 返回组件 getComponents getComponents(componentType: typeof Component): Component[] Inherit...
来源: Laya3.0_api 发布时间: 20231115
...}): T Inherited from Node.getComponent Defined in laya/display/Node.ts:968 获得组件实例,如果没有则返回为null Type parameters T: Component Parameters componentType: {} 组建类型 Returns T 返回组件 getComponents getComponents(componentType: typeof Component): Component[] Inherit...
来源: Laya3.0_api 发布时间: 20231115
...}): T Inherited from Node.getComponent Defined in laya/display/Node.ts:968 获得组件实例,如果没有则返回为null Type parameters T: Component Parameters componentType: {} 组建类型 Returns T 返回组件 getComponents getComponents(componentType: typeof Component): Component[] Inherit...
来源: Laya3.0_api 发布时间: 20231115
...}): T Inherited from Node.getComponent Defined in laya/display/Node.ts:968 获得组件实例,如果没有则返回为null Type parameters T: Component Parameters componentType: {} 组建类型 Returns T 返回组件 getComponents getComponents(componentType: typeof Component): Component[] Inherit...
来源: Laya3.0_api 发布时间: 20231115
...lse,优先检测子对象,当有子对象被命中时,中断检测,获得命中目标。如果未命中任何子对象,最后再检测此对象;如果为true,则优先检测本对象,如果本对象没有被命中,直接中断检测,表示没有命中目标;如果本对象被...
来源: Laya3.0_api 发布时间: 20231115
...}): T Inherited from Node.getComponent Defined in laya/display/Node.ts:968 获得组件实例,如果没有则返回为null Type parameters T: Component Parameters componentType: {} 组建类型 Returns T 返回组件 getComponents getComponents(componentType: typeof Component): Component[] Inherit...
来源: Laya3.0_api 发布时间: 20231115
...lse,优先检测子对象,当有子对象被命中时,中断检测,获得命中目标。如果未命中任何子对象,最后再检测此对象;如果为true,则优先检测本对象,如果本对象没有被命中,直接中断检测,表示没有命中目标;如果本对象被...
来源: Laya3.0_api 发布时间: 20231115
...lse,优先检测子对象,当有子对象被命中时,中断检测,获得命中目标。如果未命中任何子对象,最后再检测此对象;如果为true,则优先检测本对象,如果本对象没有被命中,直接中断检测,表示没有命中目标;如果本对象被...
来源: Laya3.0_api 发布时间: 20231115
...过代码设置运动刚体的方式: /* ……省略若干代码 */ //获得刚体碰撞器 this.rigidbody = this.cube1.getComponent(Laya.Rigidbody3D) as Laya.Rigidbody3D; //开启运动类型刚体 this.rigidbody.isKinematic = true; /* ……省略若干代码 */ 在LayaAir中设置运动类型...
来源: Laya3.0_文档 发布时间: 20251010
...lse,优先检测子对象,当有子对象被命中时,中断检测,获得命中目标。如果未命中任何子对象,最后再检测此对象;如果为true,则优先检测本对象,如果本对象没有被命中,直接中断检测,表示没有命中目标;如果本对象被...
来源: Laya3.0_api 发布时间: 20231115