LogicalDevice QML Type
Qt3DInput::QLogicalDevice C++ 클래스를 위한 QML 프론트엔드. 더 보기...
| Import Statement: | import Qt3D.Input 2.12 |
| In C++: | QLogicalDevice |
| Status: | Deprecated |
이 유형은 더 이상 사용되지 않습니다. 새로운 코드에서는 이 유형을 사용하지 않는 것을 강력히 권장합니다.
속성
상세 설명
사용자가 애플리케이션 내에서 사용하고자 하는 일련의 동작을 정의할 수 있게 합니다.
LogicalDevice {
id: keyboardLogicalDevice
actions: [
Action {
name: "fire"
inputs: [
ActionInput {
sourceDevice: keyboardSourceDevice
keys: [Qt.Key_Space]
},
InputChord {
tolerance: 10
inputs: [
ActionInput {
sourceDevice: keyboardSourceDevice
keys: [Qt.Key_A]
},
ActionInput {
sourceDevice: keyboardSourceDevice
keys: [Qt.Key_S]
}
]
}
]
},
Action {
name: "reload"
inputs: [
ActionInput {
sourceDevice: keyboardSourceDevice
keys: [Qt.Key_Alt]
}
]
},
Action {
name: "combo"
inputs: [
InputSequence {
interval: 1000
timeout: 10000
inputs: [
ActionInput {
sourceDevice: keyboardSourceDevice
keys: [Qt.Key_G]
},
ActionInput {
sourceDevice: keyboardSourceDevice
keys: [Qt.Key_D]
},
ActionInput {
sourceDevice: keyboardSourceDevice
keys: [Qt.Key_J]
}
]
}
]
}
]
}속성 설명
actions : list<Action>
이 논리 장치가 사용하는 동작
axis : list<Axis>
이 논리 장치가 사용하는 축
© 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.