QAxis Class
class Qt3DInput::QAxisQ축은 입력 이벤트를 트리거하는 데 사용되는 QAbstractAxisInputs를 저장합니다. 더 보기...
헤더: | #include <QAxis> |
CMake: | find_package(Qt6 REQUIRED COMPONENTS 3dinput) target_link_libraries(mytarget PRIVATE Qt6::3dinput) |
qmake: | QT += 3dinput |
QML에서: | Axis |
상속합니다: | Qt3DCore::QNode |
상태: | Deprecated |
속성
- value : const 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 : const 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도 참조하세요 .
© 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.