文档

Unity Engine

Unity Engine

GatherHoles()

Gathers the Terrain holes information into sourceRenderTexture.
阅读时间1 分钟最后更新于 1 个月前

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.