Version: Unity 6 Preview (6000.0)
LanguageEnglish
  • C#

TerrainGeometry

struct in UnityEngine.LowLevelPhysics

/

Implemented in:UnityEngine.PhysicsModule


Implements interfaces:IGeometry

Description

Contains the geometric shape of a Terrain collider.

The only way to retrieve this shape is to use the TerrainCollider.Geometry property to get it from a TerrainCollider component.

Properties

GeometryTypeReturns the geometry type of this shape, which is TerrainGeometry.