Experimental: this API is experimental and might be changed or removed in the future.

PaintContext.GatherHeightmap

切换到手册
public void GatherHeightmap ();

描述

将高度贴图信息收集到 sourceRenderTexture 中。

此函数将 PaintContext 中所有地形瓦片的高度贴图数据收集到 sourceRenderTexture 中。

TerrainPaintUtility.BeginPaintHeightmap 在内部调用此函数。

另请参阅:PaintContext.ScatterHeightmap