Qt3DInput::QAxis Class
class Qt3DInput::QAxisQAxis는 입력 이벤트를 트리거하는 데 사용되는 QAbstractAxisInputs를 저장합니다. 더 보기...
| 헤더: | #include <qaxis.h> |
| CMake: | find_package(Qt6 REQUIRED COMPONENTS 3dinput) target_link_libraries(mytarget PRIVATE Qt6::3dinput) |
| qmake: | QT += 3dinput |
| QML에서: | Axis |
| 상속: | Qt3DCore::QNode |
| 상태: | 사용 중단됨 |
이 클래스는 사용 중단되었습니다. 새로운 코드에서는 이 클래스를 사용하지 않는 것을 강력히 권장합니다.
속성
- value : float
공개 함수
| QAxis(Qt3DCore::QNode *parent = nullptr) | |
| void | addInput(Qt3DInput::QAbstractAxisInput *input) |
| QList<Qt3DInput::QAbstractAxisInput *> | inputs() const |
| void | removeInput(Qt3DInput::QAbstractAxisInput *input) |
| float | value() const |
신호
| void | valueChanged(float value) |
속성 설명
[read-only] value : float
축의 값.
액세스 함수:
| float | value() const |
알림 신호:
| void | valueChanged(float value) |
멤버 함수 설명서
[explicit] QAxis::QAxis(Qt3DCore::QNode *parent = nullptr)
parent 를 부모로 하는 새로운 QAxis 인스턴스를 생성합니다.
void QAxis::addInput(Qt3DInput::QAbstractAxisInput *input)
QAxis::addInput 해당 축에 대한 input 을 추가합니다.
Qt3DInput::QAbstractAxisInput도 참조하십시오 .
QList<Qt3DInput::QAbstractAxisInput *> QAxis::inputs() const
QAxis::inputs
해당 축에 추가된 모든 입력의 벡터를 반환합니다.
void QAxis::removeInput(Qt3DInput::QAbstractAxisInput *input)
QAxis::removeInput
축에서 ` input `를 제거합니다.
Qt3DInput::QAbstractAxisInput도 참조하십시오 .
© 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.