Interface IBrushEventHandler
Namespace: UnityEditor.Experimental.TerrainAPI
Syntax
public interface IBrushEventHandler
Methods
ConsumeEvents(Terrain, IOnSceneGUI)
Consume previously registered events.
Declaration
void ConsumeEvents(Terrain terrain, IOnSceneGUI editContext)
Parameters
Type | Name | Description |
---|---|---|
Terrain | terrain | |
IOnSceneGUI | editContext |
RegisterEvent(Event)
Register a system event for processing later.
Declaration
void RegisterEvent(Event newEvent)
Parameters
Type | Name | Description |
---|---|---|
Event | newEvent |
RequestRepaint()
Allows us to request a repaint of the GUI and scene-view.
Declaration
void RequestRepaint()