terrainIndex | Index of the terrain. |
Terrain Returns the Terrain object.
Retrieves a Terrain from the PaintContext.
When painting across a border, the PaintContext can refer to several Terrains. GetTerrain is used to access those Terrains. terrainIndex must be between 0 and PaintContext.terrainCount - 1. See Also: PaintContext.GetClippedPixelRectInTerrainPixels and PaintContext.GetClippedPixelRectInRenderTexturePixels.
Did you find this page useful? Please give it a rating: