大约有 270 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0080 秒)
...}): 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
...体,忽略其形状和体积的变化。这样的近似方法通常能够获得与实际情况相符的结果。 在LayaAir3引擎中,3D刚体的类为Rigidbody3D,这是一个物理的组件类,继承自物理碰撞器组件类 PhysicsColliderComponent,它提供了物理模拟所需的全...
来源: Laya3.0_文档 发布时间: 20251010
...}): 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
...etPixels getPixels(): Uint8Array Defined in laya/resource/Texture2D.ts:346 获得像素 Returns Uint8Array gpuCompressFormat gpuCompressFormat(): boolean Inherited from BaseTexture.gpuCompressFormat Defined in laya/resource/BaseTexture.ts:197 是否是gpu压缩纹理格式 Returns boolean hasListene...
来源: 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
...,是用来检测碰撞的形状体组件,而刚体是使游戏物体能获得重力和接受力的组件。没有碰撞体的形状区域,只有刚体,则无法产生碰撞效果。 在LayaAirIDE中,使用碰撞体组件,但没有添加刚体时,会强行添加刚体组件。碰撞体...
来源: Laya2.0_文档 发布时间: 20210714