Documentation

Unity Engine

Download Unity

Unity Engine

sourceRenderTexture

(Read Only) Render target that stores the original data from the Terrain tiles.
Read time 1 minuteLast updated a month ago

Definition

public RenderTexture sourceRenderTexture { get; }

Remarks

This RenderTexture contains all of the data collected from all Terrain tiles that intersect the PaintContext. The RenderTexture is created by PaintContext.CreateRenderTargets, and populated by one of the Gather functions (PaintContext.GatherHeightmap, PaintContext.GatherAlphamap or PaintContext.GatherNormals).