destinationRenderTexture
(Read Only) RenderTexture that an edit operation writes to modify the data.
Read time 1 minuteLast updated 9 days ago
Definition
- Type: Property
- Namespace: UnityEngine.TerrainTools
- Assembly: UnityEngine.TerrainModule
public RenderTexture destinationRenderTexture { get; }
Remarks
This RenderTexture stores the modified data represented by a PaintContext. A terrain tool will typically read from , modify the data, and write to . The Scatter functions (PaintContext.ScatterHeightmap or PaintContext.ScatterAlphamap) read from to distribute the modified data back to the source Terrain tiles. is created by PaintContext.CreateRenderTargets, with size and format matching .
sourceRenderTexturedestinationRenderTexturedestinationRenderTexturedestinationRenderTexturesourceRenderTextureAdditional Resources: PaintContext, PaintContext.sourceRenderTexture.