文档

Unity Engine

Unity Engine

TerrainGeometry

Contains the geometric shape of a Terrain collider.
阅读时间1 分钟最后更新于 1 个月前

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.