AxisAccumulator QML Type
Qt3DInput::QAxisAccumulator C++ クラスの QML フロントエンド。詳細...
Import Statement: | import Qt3D.Input 2.8 |
In C++: | QAxisAccumulator |
Status: | Deprecated |
プロパティ
- sourceAxis : Axis
- sourceAxisType : SourceAxisType
- value : real
詳細説明
Axis は、入力デバイス上の軸の現在の位置を報告する。軸がその中立位置に戻されると、その軸の値は 0 に戻る。多くの場合、軸からの入力を他の方法で変数を制御する必要があり、例えば、軸からの値を速度(時間に対する 1 階微分)または加速度(時間に対する 2 階微分)として処理する。これはユーザーコードやFrameAction を使って行うことができますが、メインスレッドに多くの作業を追加し、本質的に命令的であるため、これらのアプローチは理想的ではありません。AxisAccumulatorクラスは、この一般的なタスクをQt 3D バックエンドで実行し、宣言的な方法で指定できるようにします。
プロパティ・ドキュメンテーション
sourceAxis : Axis |
アキュムレータが軸値を統合する軸。
sourceAxisType : SourceAxisType |
sourceAxisType プロパティは、アキュムレータがソース軸からの値をどのように扱うかを指定します。
value : real |
アキュムレーション時に軸値をスケーリングする量。これは、軸が制御できる最大速度または加速度と考えることができます。
© 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.