Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


GatherHeightmap()

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