sourceRenderTexture
(Read Only) Render target that stores the original data from the Terrain tiles.
読み終わるまでの所要時間 1 分最終更新 20日前
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, PaintContext.destinationRenderTexture