IInputRouterHost class
What EditorInputRouter needs of the level editor beyond IEditorContext.
Constructors, destructors, conversion operators
- ~IInputRouterHost() defaulted virtual
Public functions
- auto GetViewRect() const -> Rectf pure virtual
- Returns the view of the level on the screen, what the panels don't cover.
- void ClearSelection() pure virtual
- Clears the selection of what the editing actions work on, the events or the tiles.
-
void ChangeUiScale(std::
int32_t direction) pure virtual - Makes the interface larger or smaller by a step, or chooses its size by the window with 0.
- void StartPlayTest(PlayStartMode mode) pure virtual
- Starts playing the level.
- void StopPlayTest(bool keep) pure virtual
- Stops playing the level and returns to editing,
keepkeeps the play-test to resume later.