Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


sourceRenderTexture

(Read Only) Render target that stores the original data from the Terrain tiles.
Read time 1 minuteLast updated 7 days 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).