The ICompoundColliderShape interface defines the methods for managing compound collider shapes.
ICompoundColliderShape
ICompoundColliderShape 接口定义了用于管理组合碰撞器形状的方法。
Filter data for collision and query.
碰撞和查询的过滤数据。
静态
The child shape to add.
Adds a child shape to the compound collider shape.
添加一个子形状到组合碰撞器形状。
The collider to add the shape to.
Adds the shape to a collider.
将形状添加到碰撞器。
Destroys the collider shape and releases resources.
销毁碰撞器形状并释放资源。
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 collider to remove the shape from.
Removes the shape from a collider.
从碰撞器中移除形状。
The filter data.
Optimizes event return.
优化事件返回。
True if the shape should be a trigger, false otherwise.
Sets whether the shape is a trigger.
设置形状是否为触发器。
The new offset position.
Sets the offset of the shape.
设置形状的偏移。
The component to set the data.
Sets the data of the shape.
设置形状的数据。
The collider group.
The collider mask.
Sets the simulation filter data.
设置模拟过滤数据。
En
The
ICompoundColliderShapeinterface defines the methods for managing compound collider shapes.Zh
ICompoundColliderShape接口定义了用于管理组合碰撞器形状的方法。