이 페이지에서

ActionInput QML Type

Qt3DInput::QActionInput C++ 클래스를 위한 QML 프론트엔드. 더 보기...

Import Statement: import Qt3D.Input 2.12
In C++: QActionInput
Inherits:

AbstractActionInput

Status: Deprecated

이 유형은 더 이상 사용되지 않습니다. 새로운 코드에서는 이 유형을 사용하지 않는 것을 강력히 권장합니다.

속성

신호

상세 설명

물리적 장치와 이 동작을 실행할 수 있는 해당 장치의 선택된 버튼을 연결합니다.

각 액션 입력은 소스 장치의 하나 또는 여러 개의 버튼을 통해 트리거될 수 있습니다

ActionInput {
  sourceDevice: keyboardSourceDevice
  buttons: [Qt.Key_A]
}
ActionInput {
  sourceDevice: keyboardSourceDevice
  buttons: [Qt.Key_A,Qt.Key_B]
}

속성 설명

buttons : list<int>

이 액션을 실행할 수 있는 버튼들.

sourceDevice : AbstractPhysicalDevice

의 전류 소스 장치는 ActionInput

신호 문서

buttonsChanged(const QList<int> &buttons)

이 신호는 액션 입력( buttons )과 연관된 값이 변경될 때 발생합니다.

이에 해당하는 핸들러는 다음과 같습니다. onbuttonsChanged

참고: 해당 핸들러는 onButtonsChanged 입니다.

sourceDeviceChanged()

이 신호는 액션 입력과 연결된 소스 장치가 변경될 때 발생합니다.

이에 해당하는 핸들러는 다음과 같습니다. onSourceDeviceChanged

참고: 해당 핸들러는 onSourceDeviceChanged 입니다.

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