QAxisSetting Class

class Qt3DInput::QAxisSetting

Q축 설정은 지정된 축 목록에 대한 설정을 저장합니다. 더 보기...

Header: #include <QAxisSetting>
CMake: find_package(Qt6 REQUIRED COMPONENTS 3dinput)
target_link_libraries(mytarget PRIVATE Qt6::3dinput)
qmake: QT += 3dinput
QML에서: AxisSetting
상속합니다: Qt3DCore::QNode
상태: Deprecated

속성

공용 기능

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 해당 설정이 적용되는 축의 현재 목록을 반환합니다.

참고: 속성 축에 대한 게터 함수입니다.

setAxes()도 참조하세요 .

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

이 신호는 축 설정과 연결된 축이 axes 으로 변경될 때 발생합니다.

참고: 속성에 대한 알림 신호 axes.

float QAxisSetting::deadZoneRadius() const

QAxisSetting::deadZoneRadius는 설정된 데드존 반경을 반환합니다.

참고: 죽은 구역 반경 프로퍼티의 게터 함수입니다.

setDeadZoneRadius()도 참조하세요 .

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

이 신호는 축 설정과 관련된 데드존 반경이 deadZoneRadius 으로 변경될 때 발생합니다.

참고: 속성에 대한 알림 신호 deadZoneRadius.

bool QAxisSetting::isSmoothEnabled() const

스무딩이 활성화된 경우 반환합니다.

참고: 속성에 대한 Getter 함수 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)

Q축 설정 스무딩의 현재 상태를 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.