Documentation

Unity Engine

Unity Engine

GatherHeightmap()

Gathers the heightmap information into sourceRenderTexture.
Read time 1 minuteLast updated 2 months ago

Definition

public void GatherHeightmap()

Remarks

This function collects the heightmap data from all Terrain tiles in the PaintContext into sourceRenderTexture.
This function is called internally by TerrainPaintUtility.BeginPaintHeightmap.
Additional Resources: PaintContext.ScatterHeightmap.