The ICompoundColliderShape interface defines the methods for managing compound collider shapes.
ICompoundColliderShape
ICompoundColliderShape 接口定义了用于管理组合碰撞器形状的方法。
The child shape to add.
Adds a child shape to the compound collider shape.
添加一个子形状到组合碰撞器形状。
Decrements the reference count of a shape and releases it if the new reference count is zero.
减少形状的引用计数,如果新的引用计数为零则释放它。
The local offset of the shape.
Gets the local offset of the shape.
获取形状的局部偏移。
The physics shape.
Gets the physics shape.
获取物理形状。
The child shape to remove.
The index of the child shape to remove.
Removes a child shape from the compound collider shape.
从组合碰撞器形状中移除一个子形状。
The local position to set
Set local position of the collider shape.
设置碰撞器形状的局部位置。
可选
The component to set the data.
Sets the data of the shape.
设置形状的数据。
En
The
ICompoundColliderShape
interface defines the methods for managing compound collider shapes.Zh
ICompoundColliderShape
接口定义了用于管理组合碰撞器形状的方法。