このページでは

ActionInput QML Type

Qt3DInput::QActionInput C++ クラス用の QML フロントエンド。詳細...

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

AbstractActionInput

Status: Deprecated

この型は非推奨です。新しいコードでの使用は強くお勧めしません。

プロパティ

信号

詳細説明

物理デバイスと、そのデバイス上のこのアクションをトリガーできる選択されたボタンを関連付けます。

各アクション入力は、ソースデバイス上の1つまたは複数のボタンによってトリガーできます

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.