CameraController Class
(Qt3D::Input::CameraController)
Properties
Public Functions
- 31 public functions inherited from QObject
Public Slots
- 1 public slot inherited from QObject
Signals
Reimplemented Protected Functions
virtual bool | eventFilter(QObject * receiver, QEvent * event) |
- 9 protected functions inherited from QObject
Additional Inherited Members
- 11 static public members inherited from QObject
- 9 protected functions inherited from QObject
Property Documentation
linearSpeed : float
Access functions:
float | linearSpeed() const |
void | setLinearSpeed(float speed) |
Notifier signal:
void | linearSpeedChanged() |
lookRate : float
Access functions:
float | lookRate() const |
void | setLookRate(float rate) |
Notifier signal:
multisampleEnabled : const bool
Access functions:
bool | isMultisampleEnabled() const |
Notifier signal:
void | multisampleEnabledChanged() |
orbitRate : float
Access functions:
float | orbitRate() const |
void | setOrbitRate(float rate) |
Notifier signal:
Member Function Documentation
CameraController::CameraController(QObject * parent = 0)
QCamera * CameraController::camera() const
See also setCamera().
[virtual protected]
bool CameraController::eventFilter(QObject * receiver, QEvent * event)
bool CameraController::keyPressEvent(QKeyEvent * aEvent)
bool CameraController::keyReleaseEvent(QKeyEvent * aEvent)
void CameraController::mouseMoveEvent(QMouseEvent * aEvent)
void CameraController::mousePressEvent(QMouseEvent * aEvent)
void CameraController::mouseReleaseEvent(QMouseEvent * aEvent)
void CameraController::setCamera(QCamera * cam)
CameraController expects to find a Camera entity. That means if you have built you Camera yourself using an Entity, a CameraLens and a Transform instead of using the ready made Camera element, it won't work.
See also camera().
[slot]
void CameraController::toggleMSAA()
void CameraController::update(double t)
© 2016 The Qt Company Ltd.
Documentation contributions included herein are the copyrights of
their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property
of their respective owners.