Class to allow for selection of camera to be used. 更多...
头: | #include <QCameraSelector> |
qmake: | QT += 3drender |
Since: | Qt 5.5 |
实例化: | CameraSelector |
继承: | Qt3DRender::QFrameGraphNode |
QCameraSelector (Qt3DCore::QNode * parent = nullptr) | |
Qt3DCore::QEntity * | camera () const |
void | setCamera (Qt3DCore::QEntity * camera ) |
void | cameraChanged (Qt3DCore::QEntity * camera ) |
const QMetaObject | staticMetaObject |
Class to allow for selection of camera to be used.
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.
访问函数:
Qt3DCore::QEntity * | camera () const |
void | setCamera (Qt3DCore::QEntity * camera ) |
通知程序信号:
void | cameraChanged (Qt3DCore::QEntity * camera ) |
The constructor creates an instance with the specified parent .