# cee::vis::MouseEvent

class `MouseEvent`

  Mouse event.

  Stores X and Y screen coordinates, mouse buttons and keyboard modifiers. X and Y screen coordinates are in OpenGL style coordinates with origin in lower left corner.

  Subclassed by WheelEvent

  Public Functions

  `MouseEvent`(int x, int y, MouseButtons buttonsDown, KeyboardModifiers modifiersDown)

    Creates a mouse event.

    The input (window) coordinates must be specified in OpenGL style coordinates, which means a right handed coordinate system with the origin in the lower left corner of the window.

  int `x`() const

    Returns the x windows coordinate.

    In OpenGL style coordinates with origin in lower left corner

  int `y`() const

    Returns the y windows coordinate.

    In OpenGL style coordinates with origin in lower left corner

  MouseButtons `buttons`() const

    Returns the mouse buttons for this event.

  KeyboardModifiers `modifiers`() const

    Returns the keyboard modifiers for this event.

Conversation saved
HOOPSY BETA

### Hello! I'm HOOPSY

Your multilingual generative AI assistant for documentation. Ask me anything about HOOPS Envision for Desktop in your own language, or choose a sample question below to start a conversation:

What is HOOPS Envision for Desktop?
What are the latest release notes for HOOPS Envision for Desktop?
How do I start evaluating HOOPS Envision for Desktop?
How do I write my first sample application?
How can I get assistance?

HOOPSY may store conversations according to OpenAI's policy. Responses may not always be accurate.

HOOPSY is thinking...