このページでは

Qt3DInput::QAxisSetting Class

class Qt3DInput::QAxisSetting

QAxisSetting は、指定された Axis のリストに関する設定を保存します。詳細...

ヘッダー: #include <qaxissetting.h>
CMake: find_package(Qt6 REQUIRED COMPONENTS 3dinput)
target_link_libraries(mytarget PRIVATE Qt6::3dinput)
qmake: QT += 3dinput
QML内: AxisSetting
継承元: Qt3DCore::QNode
ステータス: 非推奨

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

プロパティ

パブリック関数

QAxisSetting(Qt3DCore::QNode *parent = nullptr)
QList<int> axes() const
float deadZoneRadius() const
bool isSmoothEnabled() const

パブリックスロット

void setAxes(const QList<int> &axes)
void setDeadZoneRadius(float deadZoneRadius)
void setSmoothEnabled(bool enabled)

シグナル

void axesChanged(const QList<int> &axes)
void deadZoneRadiusChanged(float deadZoneRadius)
void smoothChanged(bool smooth)

詳細な説明

この軸に関連付けられたデッドゾーンを保存し、スムージングが有効かどうかを定義します

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

axes : QList<int>

アクセス機能:

QList<int> axes() const
void setAxes(const QList<int> &axes)

通知信号:

void axesChanged(const QList<int> &axes)

deadZoneRadius : float

アクセス機能:

float deadZoneRadius() const
void setDeadZoneRadius(float deadZoneRadius)

通知信号:

void deadZoneRadiusChanged(float deadZoneRadius)

smooth : bool

アクセス機能:

bool isSmoothEnabled() const
void setSmoothEnabled(bool enabled)

通知信号:

void smoothChanged(bool smooth)

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

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

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

QList<int> QAxisSetting::axes() const

QAxisSetting::axes これらの設定が適用される軸の現在のリストを返します。

注: プロパティ `axes`のゲッター 関数です。

関連項目: setAxes()。

[signal] void QAxisSetting::axesChanged(const QList<int> &axes)

このシグナルは、軸設定に関連付けられた軸が「axes 」に変更されたときに発せられます。

注: プロパティ `axes` に対する通知 信号です。

float QAxisSetting::deadZoneRadius() const

QAxisSetting::deadZoneRadius 設定されたデッドゾーンの半径を返します。

注: プロパティ deadZoneRadiusのゲッター 関数です。

関連項目: setDeadZoneRadius()。

[signal] void QAxisSetting::deadZoneRadiusChanged(float deadZoneRadius)

このシグナルは、軸設定に関連付けられたデッドゾーンの半径がdeadZoneRadius に変更されたときに発生します。

注: プロパティ `deadZoneRadius` に関する通知 信号です。

bool QAxisSetting::isSmoothEnabled() const

QAxisSetting::isSmoothEnabled スムージングが有効かどうかを返します。

注: プロパティ `smooth`のゲッター 関数です。

[slot] void QAxisSetting::setAxes(const QList<int> &axes)

QAxisSetting インスタンスの現在の軸をaxes に設定します。

注: プロパティ `axes`のセッター 関数です。

関連項目: axes()。

[slot] void QAxisSetting::setDeadZoneRadius(float deadZoneRadius)

QAxisSetting インスタンスの現在のデッドゾーン半径をdeadZoneRadius に設定します。

注: プロパティdeadZoneRadius のセッター 関数です。

関連項目 :deadZoneRadius()

[slot] void QAxisSetting::setSmoothEnabled(bool enabled)

QAxisSettingsのスムージングの現在の状態をenabled に設定します。

注: プロパティ `smooth`のセッター 関数。

isSmoothEnabled()も参照してください 。

[signal] void QAxisSetting::smoothChanged(bool smooth)

このシグナルは、スムージング状態が「smooth 」に変更されたときに発信されます。

注: プロパティ `smooth` に対する通知 シグナルです。

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