Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


GatherHoles()

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