Version: 2020.2
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

Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961