Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


originTerrain

(Read Only) The Terrain used to build the PaintContext.
Read time 1 minuteLast updated 6 days ago

Definition

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.