Qt3DInput::QAxis Class
class Qt3DInput::QAxisQAxisは、入力イベントをトリガーするために使用されるQAbstractAxisInputsを格納します。詳細...
| ヘッダー: | #include <qaxis.h> |
| CMake: | find_package(Qt6 REQUIRED COMPONENTS 3dinput) target_link_libraries(mytarget PRIVATE Qt6::3dinput) |
| qmake: | QT += 3dinput |
| QML内: | Axis |
| 継承元: | Qt3DCore::QNode |
| ステータス: | 非推奨 |
このクラスは非推奨です。新しいコードでの使用は強く推奨しません。
プロパティ
- value : float
パブリック関数
| QAxis(Qt3DCore::QNode *parent = nullptr) | |
| void | addInput(Qt3DInput::QAbstractAxisInput *input) |
| QList<Qt3DInput::QAbstractAxisInput *> | inputs() const |
| void | removeInput(Qt3DInput::QAbstractAxisInput *input) |
| float | value() const |
シグナル
| void | valueChanged(float value) |
プロパティのドキュメント
[read-only] value : float
軸の値。
アクセス関数:
| float | value() const |
通知信号:
| void | valueChanged(float value) |
メンバ関数のドキュメント
[explicit] QAxis::QAxis(Qt3DCore::QNode *parent = nullptr)
親としてparent を持つ新しいQAxisインスタンスを構築します。
void QAxis::addInput(Qt3DInput::QAbstractAxisInput *input)
QAxis::addInput 軸に対してinput を追加します。
Qt3DInput::QAbstractAxisInputも参照してください 。
QList<Qt3DInput::QAbstractAxisInput *> QAxis::inputs() const
QAxis::inputs
その軸に追加されたすべての入力のベクトルを返します。
void QAxis::removeInput(Qt3DInput::QAbstractAxisInput *input)
QAxis::removeInput
軸からinput を削除します。
Qt3DInput::QAbstractAxisInputも参照してください 。
© 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.