Inheritance
System.Object
ContrastTool
public class ContrastTool : TerrainPaintTool<ContrastTool>
Methods
ApplyBrushInternal(IPaintContextRender, PaintContext, Single, Texture, BrushTransform)
Declaration
public void ApplyBrushInternal(IPaintContextRender renderer, PaintContext paintContext, float brushStrength, Texture brushTexture, BrushTransform brushXform)
Parameters
Type |
Name |
Description |
IPaintContextRender |
renderer |
|
PaintContext |
paintContext |
|
System.Single |
brushStrength |
|
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 |
|