Documentation

Unity Engine

Unity Engine

GatherHoles()

Gathers the Terrain holes information into sourceRenderTexture.
Read time 1 minuteLast updated 2 months 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.