QAxisSetting Class

class Qt3DInput::QAxisSetting

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

ヘッダー #include <QAxisSetting>
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)

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

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 プロパティの通知シグナル。

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