このページでは

Qt3DInput::QAnalogAxisInput Class

class Qt3DInput::QAnalogAxisInput

アナログ入力によって制御される軸入力。この軸の値は、ジョイスティックなどの従来のアナログ入力と同様に制御されます。詳細...

ヘッダー: #include <Qt3DInput/QAnalogAxisInput>
CMake: find_package(Qt6 REQUIRED COMPONENTS 3dinput)
target_link_libraries(mytarget PRIVATE Qt6::3dinput)
qmake: QT += 3dinput
QML内: AnalogAxisInput
継承元: Qt3DInput::QAbstractAxisInput
ステータス: 非推奨

このクラスは非推奨です。新しいコードでの使用は強く推奨しません。

プロパティ

パブリック関数

QAnalogAxisInput(Qt3DCore::QNode *parent = nullptr)
int axis() const

パブリック・スロット

void setAxis(int axis)

シグナル

void axisChanged(int axis)

詳細な説明

プロパティのドキュメント

axis : int

アナログ入力の軸。

アクセス機能:

int axis() const
void setAxis(int axis)

通知信号:

void axisChanged(int axis)

Qt3DInput::QMouseDevice::Axisも参照してください 。

メンバ関数のドキュメント

[explicit] QAnalogAxisInput::QAnalogAxisInput(Qt3DCore::QNode *parent = nullptr)

parent を使用して、新しい QAnalogAxisInput インスタンスを作成します。

© 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.