PhysicsShapeType2D
Options for indicate which primitive shape type is used to interpret geometry contained within a PhysicsShape2D object.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Enum
- Namespace: UnityEngine
- Assembly: UnityEngine.Physics2DModule
public enum PhysicsShapeType2D
Remarks
Additional Resources: PhysicsShape2D.shapeType.
Fields
Value | Description |
|---|---|
| Capsule | Use a capsule shape to interpret the PhysicsShape2D geometry. |
| Circle | Use a circle shape to interpret the PhysicsShape2D geometry. |
| Edges | Use multiple edges to interpret the PhysicsShape2D geometry. |
| Polygon | Use a convex polygon shape to interpret the PhysicsShape2D geometry. |