Inheritance
System.Object
MeshStampTool
public class MeshStampTool : TerrainPaintTool<MeshStampTool>
Properties
Declaration
public Mesh activeMesh { get; set; }
Property Value
Methods
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 |
|