QCameraSelector Class
(Qt3DRender::QCameraSelector)Class to allow for selection of camera to be used. More...
Header: | #include <QCameraSelector> |
qmake: | QT += 3drender |
Since: | Qt 5.5 |
Instantiated By: | CameraSelector |
Inherits: | Qt3DRender::QFrameGraphNode |
Properties
- camera : Qt3DCore::QEntity*
- 3 properties inherited from Qt3DCore::QNode
- 1 property inherited from QObject
Public Functions
QCameraSelector(Qt3DCore::QNode *parent = nullptr) | |
Qt3DCore::QEntity * | camera() const |
- 1 public function inherited from Qt3DRender::QFrameGraphNode
- 13 public functions inherited from Qt3DCore::QNode
- 31 public functions inherited from QObject
Public Slots
void | setCamera(Qt3DCore::QEntity *camera) |
- 3 public slots inherited from Qt3DCore::QNode
- 1 public slot inherited from QObject
Signals
void | cameraChanged(Qt3DCore::QEntity *camera) |
- 4 signals inherited from Qt3DCore::QNode
- 2 signals inherited from QObject
Static Public Members
const QMetaObject | staticMetaObject |
- 9 static public members inherited from QObject
Additional Inherited Members
- 1 protected function inherited from Qt3DRender::QFrameGraphNode
- 2 protected functions inherited from Qt3DCore::QNode
- 9 protected functions inherited from QObject
Detailed Description
Class to allow for selection of camera to be used.
A Qt3DRender::QCameraSelector can be used to select the camera, which is used by the FrameGraph when drawing the entities.
Property Documentation
camera : Qt3DCore::QEntity*
Holds the currently selected camera.
Access functions:
Qt3DCore::QEntity * | camera() const |
void | setCamera(Qt3DCore::QEntity *camera) |
Notifier signal:
void | cameraChanged(Qt3DCore::QEntity *camera) |
Member Function Documentation
QCameraSelector::QCameraSelector(Qt3DCore::QNode *parent = nullptr)
The constructor creates an instance with the specified parent.
© 2021 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.