Programming API Reference: SharpGfx.UI

Interface IKeyDownHandling

Cameras and renderings can implement this interface if Handle should be called when a keyboard-key is pressed.

Method  void Handle()

Reacts to the key.
  • ConsoleKey key

Interface IKeyUpHandling

Cameras and renderings can implement this interface if Handle should be called when a keyboard-key is released.

Method  void Handle()

Reacts to the key.
  • ConsoleKey key

Interface IMouseButtonDownHandling

Cameras and renderings can implement this interface if Handle should be called when a mouse-button is pressed.

Method  void Handle()

Reacts to the mouse-button.

Interface IMouseButtonUpHandling

Cameras and renderings can implement this interface if Handle should be called when a mouse-button is release.

Method  void Handle()

Reacts to the mouse-button.

Interface IMouseMoveHandling

Cameras and renderings can implement this interface when the mouse is moved.

Method  void Handle()

Reacts to the mouse-move.
  • float x: position in pixels.
  • float y: position in pixels.

Interface IMouseScrollHandling

Cameras and renderings can implement this interface when the mouse wheel is turned.

Method  void Handle()

Reacts to the mouse-scroll.
  • float deltaX: change in unknown unit.
  • float deltaY: change in unknown unit.