Castor3D 0.16.0
Multiplatform 3D engine
Public Attributes | List of all members
castor3d::MouseState Struct Reference

Mouse state. More...

#include <UserInputEventModule.hpp>

Collaboration diagram for castor3d::MouseState:
Collaboration graph
[legend]

Public Attributes

castor::Position position
 
castor::Position wheel
 
castor::Array< bool, size_t(MouseButton::eCount) > buttons
 
MouseButton changed
 

Detailed Description

Mouse state.

Member Data Documentation

◆ buttons

castor::Array< bool, size_t( MouseButton::eCount ) > castor3d::MouseState::buttons

The buttons state (true = down).

◆ changed

MouseButton castor3d::MouseState::changed

The button which had the last change.

◆ position

castor::Position castor3d::MouseState::position

The current position.

Referenced by castor3d::UserInputListener::getMousePosition().

◆ wheel

castor::Position castor3d::MouseState::wheel

The wheel position.


The documentation for this struct was generated from the following file: