Experimental: this API is experimental and might be changed or removed in the future.

PaintContext.sourceRenderTexture

Cambiar al Manual
public RenderTexture sourceRenderTexture ;

Descripción

(Read Only) Render target that stores the original data from the Terrain tiles.

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).

See Also: PaintContext, PaintContext.destinationRenderTexture.