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

PaintContext.GatherHoles

切换到手册
public void GatherHoles ();

描述

将地形孔洞信息收集到 sourceRenderTexture 中。

此函数从绘制上下文中的所有地形瓦片收集地形孔洞数据,并将这些信息保存在 sourceRenderTexture 中。

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

另请参阅:PaintContext.ScatterHoles