Inheritance
System.Object
PinchHeightTool
public class PinchHeightTool : TerrainPaintTool<PinchHeightTool>
Methods
ApplyBrushInternal(IPaintContextRender, PaintContext, Single, Single, Texture, BrushTransform)
Declaration
public void ApplyBrushInternal(IPaintContextRender renderer, PaintContext paintContext, float brushStrength, float pinchAmount, Texture brushTexture, BrushTransform brushXform)
Parameters
| Type |
Name |
Description |
| IPaintContextRender |
renderer |
|
| PaintContext |
paintContext |
|
| System.Single |
brushStrength |
|
| System.Single |
pinchAmount |
|
| Texture |
brushTexture |
|
| BrushTransform |
brushXform |
|
Declaration
public override string GetDesc()
Returns
| Type |
Description |
| System.String |
|
Declaration
public override string GetName()
Returns
| Type |
Description |
| System.String |
|
Declaration
public override void OnEnterToolMode()
Declaration
public override void OnExitToolMode()
Declaration
public override void OnInspectorGUI(Terrain terrain, IOnInspectorGUI editContext)
Parameters
| Type |
Name |
Description |
| Terrain |
terrain |
|
| IOnInspectorGUI |
editContext |
|
Declaration
public override bool OnPaint(Terrain terrain, IOnPaint editContext)
Parameters
| Type |
Name |
Description |
| Terrain |
terrain |
|
| IOnPaint |
editContext |
|
Returns
| Type |
Description |
| System.Boolean |
|
Declaration
public override void OnSceneGUI(Terrain terrain, IOnSceneGUI editContext)
Parameters
| Type |
Name |
Description |
| Terrain |
terrain |
|
| IOnSceneGUI |
editContext |
|