Class MouseHandler

Base class for various input handlers. It provides convenience to register to and unregister from events.

Hierarchy (View Summary)

Constructors

Properties

onButtonDown: (pos: Vector2, button: number) => void
onButtonUp: (pos: Vector2, button: number) => void
onClick: (position: Vector2, ctrl: boolean) => void
onDoubleClick: (position: Vector2) => void
onDrag: DragCallback
onMouseMove: (event: Vector2) => void
onWheel: (value: number, ctrl: boolean) => void

Methods