originTerrain
(Read Only) The Terrain used to build the PaintContext.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Property
- Namespace: UnityEngine.TerrainTools
- Assembly: UnityEngine.TerrainModule
public Terrain originTerrain { get; }
Remarks
When painting across a border, the PaintContext can refer to several Terrain tiles. The originTerrain is used to define the terrain space (terrain-local object space) within the PaintContext.