GeometryType
The set of basic geometry shape types that can exist.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Enum
- Namespace: UnityEngine.LowLevelPhysics
- Assembly: UnityEngine.PhysicsModule
public enum GeometryType
Remarks
Additional Resources: BoxGeometry, SphereGeometry, CapsuleGeometry, ConvexMeshGeometry, TriangleMeshGeometry, TerrainGeometry
Fields
Value | Description |
|---|---|
| Box | A cube shape. |
| Capsule | A capsule shape. |
| ConvexMesh | A convex mesh shape. |
| Invalid | An invalid shape type. |
| Sphere | A sphere shape. |
| Terrain | The geometric shape of a Terrain collider. |
| TriangleMesh | A triangle or non-convex mesh shape. |