QCameraSelector Class

class Qt3DRender::QCameraSelector

클래스를 사용하여 사용할 카메라를 선택할 수 있습니다. 더 보기...

헤더: #include <QCameraSelector>
CMake: find_package(Qt6 REQUIRED COMPONENTS 3drender)
target_link_libraries(mytarget PRIVATE Qt6::3drender)
qmake: QT += 3drender
QML에서: CameraSelector
상속합니다: Qt3DRender::QFrameGraphNode
상태: Deprecated

속성

공용 기능

QCameraSelector(Qt3DCore::QNode *parent = nullptr)
Qt3DCore::QEntity *camera() const

공용 슬롯

void setCamera(Qt3DCore::QEntity *camera)

신호

void cameraChanged(Qt3DCore::QEntity *camera)

상세 설명

Qt3DRender::QCameraSelector 는 프레임그래프가 엔티티를 그릴 때 사용하는 카메라를 선택하는 데 사용할 수 있습니다.

프로퍼티 문서

camera : Qt3DCore::QEntity*

현재 선택된 카메라를 유지합니다.

기능에 액세스합니다:

Qt3DCore::QEntity *camera() const
void setCamera(Qt3DCore::QEntity *camera)

알림 신호:

void cameraChanged(Qt3DCore::QEntity *camera)

멤버 기능 문서

[explicit] QCameraSelector::QCameraSelector(Qt3DCore::QNode *parent = nullptr)

생성자는 지정된 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.