sourceRenderTexture
(Read Only) Render target that stores the original data from the Terrain tiles.
Read time 1 minuteLast updated 7 days ago
Definition
- Type: Property
- Namespace: UnityEngine.TerrainTools
- Assembly: UnityEngine.TerrainModule
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).
Additional Resources: PaintContext, _destinationRenderTexture