QCameraSelector Class
class Qt3DRender::QCameraSelectorKlasse, die die Auswahl der zu verwendenden Kamera ermöglicht. Mehr...
Kopfzeile: | #include <QCameraSelector> |
CMake: | find_package(Qt6 REQUIRED COMPONENTS 3drender) target_link_libraries(mytarget PRIVATE Qt6::3drender) |
qmake: | QT += 3drender |
In QML: | CameraSelector |
Vererbt: | Qt3DRender::QFrameGraphNode |
Status: | Veraltet |
Eigenschaften
- camera : Qt3DCore::QEntity*
Öffentliche Funktionen
QCameraSelector(Qt3DCore::QNode *parent = nullptr) | |
Qt3DCore::QEntity * | camera() const |
Öffentliche Slots
void | setCamera(Qt3DCore::QEntity *camera) |
Signale
void | cameraChanged(Qt3DCore::QEntity *camera) |
Detaillierte Beschreibung
Mit Qt3DRender::QCameraSelector kann die Kamera ausgewählt werden, die vom FrameGraph beim Zeichnen der Objekte verwendet wird.
Dokumentation der Eigenschaft
camera : Qt3DCore::QEntity*
Hält die aktuell ausgewählte Kamera fest.
Zugriff auf Funktionen:
Qt3DCore::QEntity * | camera() const |
void | setCamera(Qt3DCore::QEntity *camera) |
Benachrichtigungssignal:
void | cameraChanged(Qt3DCore::QEntity *camera) |
Mitgliederfunktion Dokumentation
[explicit]
QCameraSelector::QCameraSelector(Qt3DCore::QNode *parent = nullptr)
Der Konstruktor erzeugt eine Instanz mit dem angegebenen parent.
© 2025 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.