MouseController Class | Qt 3D 5.6

Qt 5.6 | Qt 3D | C++ Classes | MouseController

Qt 5.6.2 Reference Documentation

# MouseController Class

(Qt3DInput::Input::MouseController)

Inherits: | Qt3DInput::QAbstractPhysicalDeviceBackendNode

- List of all members, including inherited members

## Public Functions

| MouseController()
| ~MouseController()
void | addMouseInput(const Qt3DCore::QNodeId &input)
QVector<Qt3DCore::QNodeId> | mouseInputs() const
void | removeMouseInput(const Qt3DCore::QNodeId &input)
void | setInputHandler(InputHandler *handler)
void | updateFromPeer(Qt3DCore::QNode *peer)
void | updateMouseEvents(const QList<QT_PREPEND_NAMESPACE( QMouseEvent ) > &events)

## Reimplemented Public Functions

virtual float | axisValue(int axisIdentifier) const
virtual bool | isButtonPressed(int buttonIdentifier) const

- 8 public functions inherited from Qt3DInput::QAbstractPhysicalDeviceBackendNode
- 5 public functions inherited from Qt3DCore::QBackendNode

## Protected Functions

void | sceneChangeEvent(const Qt3DCore::QSceneChangePtr &e)

- 3 protected functions inherited from Qt3DCore::QBackendNode

## Member Function Documentation

### MouseController::MouseController()

Default constructs an instance of MouseController.

### MouseController::~MouseController()

Destroys the instance of MouseController.

### void MouseController::addMouseInput(const Qt3DCore::QNodeId &input)

### `[virtual]` float MouseController::axisValue(int axisIdentifier) const

### `[virtual]` bool MouseController::isButtonPressed(int buttonIdentifier) const

### QVector<Qt3DCore::QNodeId> MouseController::mouseInputs() const

### void MouseController::removeMouseInput(const Qt3DCore::QNodeId &input)

### `[protected]` void MouseController::sceneChangeEvent(const Qt3DCore::QSceneChangePtr &e)

### void MouseController::setInputHandler(InputHandler *handler)

### void MouseController::updateFromPeer(Qt3DCore::QNode *peer)

### void MouseController::updateMouseEvents(const QList<QT_PREPEND_NAMESPACE( QMouseEvent ) > &events)