ActionInput QML Type

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

Import Statement: import Qt3D.Input 2.8
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 입니다.


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