TerrainGeometry
Contains the geometric shape of a Terrain collider.
Read time 1 minuteLast updated 6 days ago
Definition
- Type: Struct
- Namespace: UnityEngine.LowLevelPhysics
- Assembly: UnityEngine.PhysicsModule
- Implements: IGeometry
public struct TerrainGeometry : IGeometry
Remarks
The only way to retrieve this shape is to use the Geometry property to get it from a TerrainCollider component.
Properties
Property | Description |
|---|---|
| GeometryType | Returns the geometry type of this shape, which is TerrainGeometry. |