MouseState

Undocumented in source.

Constructors

this
this(int x, int y, int btn_mask, float scrolled)
Undocumented in source.

Members

Functions

IsButtonPressed
bool IsButtonPressed(MouseButton button)

Returns true if the specified MouseButton is pressed.

IsButtonReleased
bool IsButtonReleased(MouseButton button)

Returns true if the specified MouseButton is released (not pressed).

Position
Vector3 Position()

Returns the position and scroll for the mouse. Z = Scrollwheel

SDLButton
ubyte SDLButton(ubyte x)
Undocumented in source. Be warned that the author may not have intended to support it.

Meta