Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


TerrainGeometry

Contains the geometric shape of a Terrain collider.
Read time 1 minuteLast updated 6 days ago

Definition

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

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