Qt3DRender::QCameraSelector Class
class Qt3DRender::QCameraSelectorClase que permite seleccionar la cámara que se va a utilizar. Más...
| Encabezado: | #include <qcameraselector.h> |
| CMake: | find_package(Qt6 REQUIRED COMPONENTS 3drender) target_link_libraries(mytarget PRIVATE Qt6::3drender) |
| qmake: | QT += 3drender |
| En QML: | CameraSelector |
| Heredado de: | Qt3DRender::QFrameGraphNode |
| Estado: | Obsoleta |
Esta clase está en desuso. Recomendamos encarecidamente no utilizarla en código nuevo.
Propiedades
- camera : Qt3DCore::QEntity*
Funciones públicas
| QCameraSelector(Qt3DCore::QNode *parent = nullptr) | |
| Qt3DCore::QEntity * | camera() const |
Ranuras públicas
| void | setCamera(Qt3DCore::QEntity *camera) |
Señales
| void | cameraChanged(Qt3DCore::QEntity *camera) |
Descripción detallada
Se puede utilizar un objeto « Qt3DRender::QCameraSelector » para seleccionar la cámara que utiliza FrameGraph al dibujar las entidades.
Documentación de propiedades
camera : Qt3DCore::QEntity*
Muestra la cámara seleccionada actualmente.
Funciones de acceso:
| Qt3DCore::QEntity * | camera() const |
| void | setCamera(Qt3DCore::QEntity *camera) |
Señal de notificación:
| void | cameraChanged(Qt3DCore::QEntity *camera) |
Documentación de funciones de miembro
[explicit] QCameraSelector::QCameraSelector(Qt3DCore::QNode *parent = nullptr)
El constructor crea una instancia con el ` parent` especificado.
© 2026 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.