Class DefaultBrushSize
Inheritance
System.Object
DefaultBrushSize
Syntax
public class DefaultBrushSize : IBrushSizeController, IBrushController
Constructors
DefaultBrushSize(String)
Declaration
public DefaultBrushSize(string toolName)
Parameters
Type |
Name |
Description |
System.String |
toolName |
|
Properties
brushSize
Declaration
public float brushSize { get; set; }
Property Value
Type |
Description |
System.Single |
|
Implements
isInUse
Declaration
public bool isInUse { get; }
Property Value
Type |
Description |
System.Boolean |
|
Implements
Methods
AppendBrushInfo(Terrain, IOnSceneGUI, StringBuilder)
Declaration
public void AppendBrushInfo(Terrain terrain, IOnSceneGUI editContext, StringBuilder builder)
Parameters
Type |
Name |
Description |
Terrain |
terrain |
|
IOnSceneGUI |
editContext |
|
System.Text.StringBuilder |
builder |
|
Implements
Declaration
public void OnEnterToolMode(BrushShortcutHandler<BrushShortcutType> shortcutHandler)
Parameters
Implements
Declaration
public void OnExitToolMode(BrushShortcutHandler<BrushShortcutType> shortcutHandler)
Parameters
Implements
OnInspectorGUI(Terrain, IOnInspectorGUI)
Declaration
public void OnInspectorGUI(Terrain terrain, IOnInspectorGUI editContext)
Parameters
Type |
Name |
Description |
Terrain |
terrain |
|
IOnInspectorGUI |
editContext |
|
Implements
OnPaint(Terrain, IOnPaint)
Declaration
public bool OnPaint(Terrain terrain, IOnPaint editContext)
Parameters
Type |
Name |
Description |
Terrain |
terrain |
|
IOnPaint |
editContext |
|
Returns
Type |
Description |
System.Boolean |
|
Implements
OnSceneGUI(Event, Int32, Terrain, IOnSceneGUI)
Declaration
public void OnSceneGUI(Event currentEvent, int controlId, Terrain terrain, IOnSceneGUI editContext)
Parameters
Type |
Name |
Description |
Event |
currentEvent |
|
System.Int32 |
controlId |
|
Terrain |
terrain |
|
IOnSceneGUI |
editContext |
|
Implements