FirstPersonCameraController QML Type
FirstPersonCameraControllerは一人称視点でシーンカメラをコントロールできる。詳細...
| Import Statement: | import Qt3D.Extras 2.11 |
| Inherits: | |
| Status: | Deprecated |
プロパティ
- acceleration : real
- camera : Camera
- deceleration : real
- linearSpeed : real
- lookSpeed : real
詳細説明
FirstPersonCameraController は、一人称視点からのシーンカメラのコントロールを可能にします。
コントロールは
| 入力 | アクション |
|---|---|
| マウスの左ボタン | マウスの左ボタンが押されている間、X軸に沿ったマウスの動きはカメラをパンし、Y軸に沿った動きはカメラを傾けます。 |
| シフトキー | 押している間、ファインモーションコントロールをアクティブにします。マウスのパンとチルトの感度を下げます。 |
| 矢印キー | カメラのビューポートに対してカメラを水平に移動します。 |
| ページアップおよびページダウンキー | カメラビューポートに対してカメラを垂直方向に移動します。 |
プロパティの説明
acceleration : real
現在の加速度を保持します。キーを押したときのカメラの直線速度の増加率を指定します。加速度が負の場合、直線速度は一定です。デフォルトは-1.0。
camera : Camera
現在コントロールされているカメラを保持します。
deceleration : real
キーを離したときにカメラの直線速度が減少する速度を指定します。減速度が負の場合、直線速度は一定になります。デフォルトは-1.0。
linearSpeed : real
カメラコントローラの現在のリニアスピードを保持します。リニアスピードはカメラの移動速度を決定します。
lookSpeed : real
カメラコントローラの現在のルックスピードを保持します。ルックスピードはカメラのパンとチルトの回転速度を決定します。
© 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.