QCameraSelector Class▲
-
Header: QCameraSelector
-
Since: Qt 5.5
-
CMake:
find_package(Qt6 REQUIRED COMPONENTS 3drender)
target_link_libraries(mytarget PRIVATE Qt6::3drender)
-
qmake: QT += 3drender
-
Inherited By:
-
Instantiated By: qml-qt3d-render-cameraselector.xml
-
Inherits: Qt3DRender::QFrameGraphNode
-
Group: QCameraSelector is part of framegraph
Detailed Description▲
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:
-
*camera() const
-
void setCamera( *camera)
Notifier signal:
-
void cameraChanged( *camera)
Member Function Documentation▲
[explicit] QCameraSelector::QCameraSelector(Qt3DCore::QNode *parent = nullptr)▲
The constructor creates an instance with the specified parent.