Class BrushRenderPreviewUIGroupUnderCursor
Inheritance
System.Object
BrushRenderPreviewUIGroupUnderCursor
Syntax
public class BrushRenderPreviewUIGroupUnderCursor : BaseBrushRenderUIGroupUnderCursor<BrushRenderPreviewWithTerrainUiGroup>, IBrushRenderPreviewUnderCursor, IBrushRenderUnderCursor, IPaintContextRenderPreview, IPaintContextRender, IDisposable
Constructors
BrushRenderPreviewUIGroupUnderCursor(IBrushUIGroup, String, Texture)
Declaration
public BrushRenderPreviewUIGroupUnderCursor(IBrushUIGroup uiGroup, string name, Texture brushTexture)
Parameters
Type |
Name |
Description |
IBrushUIGroup |
uiGroup |
|
System.String |
name |
|
Texture |
brushTexture |
|
Methods
Declaration
protected override bool CalculateTransform(ref Terrain terrain, out BrushTransform brushTransform)
Parameters
Type |
Name |
Description |
Terrain |
terrain |
|
BrushTransform |
brushTransform |
|
Returns
Type |
Description |
System.Boolean |
|
Overrides
UnityEditor.Experimental.TerrainAPI.BaseBrushRenderUIGroupUnderCursor<UnityEditor.Experimental.TerrainAPI.BrushRenderPreviewWithTerrainUiGroup>.CalculateTransform(Terrain, BrushTransform)
RenderBrushPreview(PaintContext, TerrainPaintUtilityEditor.BrushPreview, BrushTransform, Material, Int32)
Declaration
public void RenderBrushPreview(PaintContext paintContext, TerrainPaintUtilityEditor.BrushPreview previewTexture, BrushTransform brushTransform, Material material, int pass)
Parameters
Type |
Name |
Description |
PaintContext |
paintContext |
|
TerrainPaintUtilityEditor.BrushPreview |
previewTexture |
|
BrushTransform |
brushTransform |
|
Material |
material |
|
System.Int32 |
pass |
|
Implements