Interface IPaintContextRenderPreview
Inherited Members
Namespace: UnityEditor.Experimental.TerrainAPI
Syntax
public interface IPaintContextRenderPreview : IPaintContextRender, IDisposable
Methods
RenderBrushPreview(PaintContext, TerrainPaintUtilityEditor.BrushPreview, BrushTransform, Material, Int32)
Renders a preview of the terrain-brush using the specified material/pass and paint-context provided.
Declaration
void RenderBrushPreview(PaintContext paintContext, TerrainPaintUtilityEditor.BrushPreview previewTexture, BrushTransform brushTransform, Material material, int pass)
Parameters
| Type | Name | Description |
|---|---|---|
| PaintContext | paintContext | The paint-context to preview the changes against. |
| TerrainPaintUtilityEditor.BrushPreview | previewTexture | The type of texture to preview. |
| BrushTransform | brushTransform | The brush-transform to be rendered. |
| Material | material | The material to use when rendering to the terrain. |
| System.Int32 | pass | The pass on the material to use. |