Class TerrainEditSession
Publishes the lifecycle of terrain-edit operations to interested subsystems.
public static class TerrainEditSession
- Inheritance
-
TerrainEditSession
- Inherited Members
Methods
- AfterWrite(Guid, ITile)
Announces that the session successfully changed a prepared tile. Repeated calls for the same tile are ignored.
- BeforeWrite(Guid, ITile)
Announces that the session is about to write to a tile for the first time. Repeated calls for the same tile are ignored.
- Begin(string, IReadOnlyList<ITile>)
Begins a terrain-edit session without changing or capturing tile data.
- End(Guid, IReadOnlyList<ITile>)
Ends the session with the authoritative set of tiles that actually changed.
Events
- afterWrite
Occurs after a session successfully writes to a tile.
- beforeWrite
Occurs immediately before a session first writes to a tile.
- began
Occurs when a client declares a new terrain-edit operation.
- ended
Occurs when a session finalizes its authoritative changed-tile set.