Class PaintTextureTool
Inheritance
System.Object
PaintTextureTool
Syntax
public class PaintTextureTool : TerrainPaintTool<PaintTextureTool>
Methods
GetDesc()
Declaration
public override string GetDesc()
Returns
Type |
Description |
System.String |
|
GetName()
Declaration
public override string GetName()
Returns
Type |
Description |
System.String |
|
OnEnable()
Declaration
public override void OnEnable()
OnEnterToolMode()
Declaration
public override void OnEnterToolMode()
OnExitToolMode()
Declaration
public override void OnExitToolMode()
OnInspectorGUI(Terrain, IOnInspectorGUI)
Declaration
public override void OnInspectorGUI(Terrain terrain, IOnInspectorGUI editContext)
Parameters
Type |
Name |
Description |
Terrain |
terrain |
|
IOnInspectorGUI |
editContext |
|
OnPaint(Terrain, IOnPaint)
Declaration
public override bool OnPaint(Terrain terrain, IOnPaint editContext)
Parameters
Type |
Name |
Description |
Terrain |
terrain |
|
IOnPaint |
editContext |
|
Returns
Type |
Description |
System.Boolean |
|
OnSceneGUI(Terrain, IOnSceneGUI)
Declaration
public override void OnSceneGUI(Terrain terrain, IOnSceneGUI editContext)
Parameters
Type |
Name |
Description |
Terrain |
terrain |
|
IOnSceneGUI |
editContext |
|