Class to allow for selection of camera to be used. More...
Header: | #include <QCameraSelector> |
CMake: | find_package(Qt6 COMPONENTS 3drender REQUIRED) target_link_libraries(mytarget PRIVATE Qt6::3drender) |
qmake: | QT += 3drender |
Since: | Qt 5.5 |
Instantiated By: | CameraSelector |
Inherits: | Qt3DRender::QFrameGraphNode |
QCameraSelector(Qt3DCore::QNode *parent = nullptr) | |
Qt3DCore::QEntity * | camera() const |
void | setCamera(Qt3DCore::QEntity *camera) |
void | cameraChanged(Qt3DCore::QEntity *camera) |
A Qt3DRender::QCameraSelector can be used to select the camera, which is used by the FrameGraph when drawing the entities.
Holds the currently selected camera.
Access functions:
Qt3DCore::QEntity * | camera() const |
void | setCamera(Qt3DCore::QEntity *camera) |
Notifier signal:
void | cameraChanged(Qt3DCore::QEntity *camera) |
The constructor creates an instance with the specified parent.
© The Qt Company Ltd
Licensed under the GNU Free Documentation License, Version 1.3.
https://doc.qt.io/qt-6.2/qt3drender-qcameraselector.html