Experimental: this API is experimental and might be changed or removed in the future.

PaintContext.originTerrain

public Terrain originTerrain;

Description

(Read Only) The Terrain used to build the PaintContext.

When painting across a border, the PaintContext can refer to several Terrains. The originTerrain is used to define the terrain space (terrain-local object space) within the PaintContext.

Did you find this page useful? Please give it a rating: