Qt3DRender::QCameraSelector Class
class Qt3DRender::QCameraSelector使用するカメラを選択できるようにするクラス。詳細...
| ヘッダー: | #include <qcameraselector.h> |
| CMake: | find_package(Qt6 REQUIRED COMPONENTS 3drender) target_link_libraries(mytarget PRIVATE Qt6::3drender) |
| qmake: | QT += 3drender |
| QML内: | CameraSelector |
| 継承元: | Qt3DRender::QFrameGraphNode |
| ステータス: | 非推奨 |
このクラスは非推奨です。新しいコードでの使用は強く推奨しません。
プロパティ
- camera : Qt3DCore::QEntity*
パブリック関数
| QCameraSelector(Qt3DCore::QNode *parent = nullptr) | |
| Qt3DCore::QEntity * | camera() const |
パブリックスロット
| void | setCamera(Qt3DCore::QEntity *camera) |
シグナル
| void | cameraChanged(Qt3DCore::QEntity *camera) |
詳細な説明
Qt3DRender::QCameraSelector を使用すると、FrameGraph がエンティティを描画する際に使用するカメラを選択できます。
プロパティのドキュメント
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 を使用してインスタンスを作成します。
© 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.