NavMeshBuildSourceShape
Used with NavMeshBuildSource to define the shape for building NavMesh.
Read time 1 minuteLast updated 10 days ago
Definition
- Type: Enum
- Namespace: UnityEngine.AI
- Assembly: UnityEngine.AIModule
public enum NavMeshBuildSourceShape
Fields
Value | Description |
|---|---|
| Box | Describes a box primitive for use with NavMeshBuildSource. |
| Capsule | Describes a capsule primitive for use with NavMeshBuildSource. |
| Mesh | Describes a Mesh source for use with NavMeshBuildSource. Mesh sources must be positioned within 100,000 units of the world origin and must not exceed 100,000 units in any axis-aligned dimension. |
| ModifierBox | Describes a ModifierBox source for use with NavMeshBuildSource. |
| Sphere | Describes a sphere primitive for use with NavMeshBuildSource. |
| Terrain | Describes a TerrainData source for use with NavMeshBuildSource. |