Constructor UndoTerrain
| Improve this Doc View SourceUndoTerrain(Dictionary<Vector3, TerrainUndoData>, Dictionary<Vector3, TerrainUndoData>, Vector3, float)
Create new undo data for terrain modifications.
Declaration
public UndoTerrain(Dictionary<Vector3, UndoActions.TerrainUndoData> before, Dictionary<Vector3, UndoActions.TerrainUndoData> after, Vector3 position, float radius)
Parameters
Type | Name | Description |
---|---|---|
Dictionary<Vector3, UndoActions.TerrainUndoData> | before | Terrain state before modification |
Dictionary<Vector3, UndoActions.TerrainUndoData> | after | Terrain state after modification |
Vector3 | position | Position of the terrain modification center |
float | radius | Radius of the terrain modification |