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)

新しい QAnalogAxisInput インスタンスをparent で構築します.

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