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

PaintContext.sourceRenderTexture

切换到手册
public RenderTexture sourceRenderTexture ;

描述

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

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

另请参阅:PaintContextPaintContext.destinationRenderTexture