Documentation

Unity Engine

Download Unity

Unity Engine

GatherHoles()

Gathers the Terrain holes information into sourceRenderTexture.
Read time 1 minuteLast updated 11 hours ago

Definition

public void GatherHoles()

Remarks

This function collects the Terrain holes data from all Terrain tiles in the Paint Context, and saves the information in
sourceRenderTexture
.
This function is called internally by TerrainPaintUtility.BeginPaintHoles.
Additional Resources: PaintContext.ScatterHoles.