Interface IBrushSmoothController
Syntax
public interface IBrushSmoothController
Properties
active
Declaration
Property Value
| Type |
Description |
| System.Boolean |
|
kernelSize
Declaration
float kernelSize { get; set; }
Property Value
| Type |
Description |
| System.Single |
|
Methods
Declaration
Declaration
OnInspectorGUI(Terrain, IOnInspectorGUI)
Declaration
void OnInspectorGUI(Terrain terrain, IOnInspectorGUI editContext)
Parameters
| Type |
Name |
Description |
| Terrain |
terrain |
|
| IOnInspectorGUI |
editContext |
|
OnPaint(Terrain, IOnPaint, Single, Single, Single, Vector2)
Declaration
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 |
|
OnSceneGUI(Terrain, IOnSceneGUI)
Declaration
void OnSceneGUI(Terrain terrain, IOnSceneGUI editContext)
Parameters
| Type |
Name |
Description |
| Terrain |
terrain |
|
| IOnSceneGUI |
editContext |
|