QFirstPersonCameraController Class
class Qt3DExtras::QFirstPersonCameraControllerQFirstPersonCameraControllerクラスは、一人称視点からのシーンカメラのコントロールを可能にします。もっと詳しく...
ヘッダー | #include <QFirstPersonCameraController> |
CMake: | find_package(Qt6 REQUIRED COMPONENTS 3dextras) target_link_libraries(mytarget PRIVATE Qt6::3dextras) |
qmake: | QT += 3dextras |
を継承する: | Qt3DExtras::QAbstractCameraController |
ステータス | 非推奨 |
詳しい説明
コントロールは
入力 | アクション |
---|---|
マウスの左ボタン | マウスの左ボタンが押されている間、X軸に沿ったマウスの動きはカメラをパンさせ、Y軸に沿った動きはカメラをチルトさせます。 |
マウススクロールホイール | ビューセンターを変えずにカメラをズームイン/ズームアウトします。 |
シフトキー | 押している間、ファインモーションコントロールをアクティブにします。マウスのパンとチルトの感度を下げます。 |
矢印キー | カメラのビューポートに対してカメラを水平に移動します。 |
ページアップおよびページダウンキー | カメラビューポートに対してカメラを垂直方向に移動します。 |
エスケープ | シーン全体がカメラビューポートに表示されるようにカメラを移動します。 |
© 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.