TerrainGeometry
Contains the geometric shape of a Terrain collider.
阅读时间1 分钟最后更新于 1 个月前
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. |