Class DefaultBrushSmoother
Inheritance
System.Object
DefaultBrushSmoother
Syntax
public class DefaultBrushSmoother : IBrushSmoothController
Constructors
DefaultBrushSmoother(String)
Declaration
public DefaultBrushSmoother(string name)
Parameters
| Type |
Name |
Description |
| System.String |
name |
|
Properties
active
Declaration
public bool active { get; }
Property Value
| Type |
Description |
| System.Boolean |
|
Implements
kernelSize
Declaration
public float kernelSize { get; set; }
Property Value
| Type |
Description |
| System.Single |
|
Implements
Methods
Declaration
public void OnEnterToolMode()
Implements
Declaration
public void OnExitToolMode()
Implements
OnInspectorGUI(Terrain, IOnInspectorGUI)
Declaration
public void OnInspectorGUI(Terrain terrain, IOnInspectorGUI editContext)
Parameters
| Type |
Name |
Description |
| Terrain |
terrain |
|
| IOnInspectorGUI |
editContext |
|
Implements
OnPaint(Terrain, IOnPaint, Single, Single, Single, Vector2)
Declaration
public bool OnPaint(Terrain terrain, IOnPaint editContext, float brushSize, float brushRotation, float brushStrength, Vector2 uv)
Parameters
| Type |
Name |
Description |
| Terrain |
terrain |
|
| IOnPaint |
editContext |
|
| System.Single |
brushSize |
|
| System.Single |
brushRotation |
|
| System.Single |
brushStrength |
|
| Vector2 |
uv |
|
Returns
| Type |
Description |
| System.Boolean |
|
Implements
OnSceneGUI(Terrain, IOnSceneGUI)
Declaration
public void OnSceneGUI(Terrain terrain, IOnSceneGUI editContext)
Parameters
| Type |
Name |
Description |
| Terrain |
terrain |
|
| IOnSceneGUI |
editContext |
|
Implements