Version: 2023.1

PaintContext.sourceRenderTexture

切换到手册
public RenderTexture sourceRenderTexture ;

描述

(只读)用于存储地形瓦片原始数据的渲染目标。

此 RenderTexture 包含从 PaintContext 相交的所有地形瓦片收集的所有数据。 RenderTexture 由 PaintContext.CreateRenderTargets 创建,并由 Gather 函数之一(PaintContext.GatherHeightmapPaintContext.GatherAlphamapPaintContext.GatherNormals)填充。

另请参阅:PaintContextPaintContext.destinationRenderTexture

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