QAbstractPhysicalDevice Class
class Qt3DInput::QAbstractPhysicalDeviceQAbstractPhysicalDeviceは、Qt3dが任意の入力デバイスと対話するために使用する基本クラスです。詳細...
ヘッダ | #include <QAbstractPhysicalDevice> |
CMake: | find_package(Qt6 REQUIRED COMPONENTS 3dinput) target_link_libraries(mytarget PRIVATE Qt6::3dinput) |
qmake | QT += 3dinput |
QML で | AbstractPhysicalDevice |
を継承: | Qt3DCore::QNode |
によって継承されています: | Qt3DInput::QAbstractPhysicalDeviceProxy,Qt3DInput::QKeyboardDevice, andQt3DInput::QMouseDevice |
ステータス | 非推奨 |
パブリック関数
QAbstractPhysicalDevice(Qt3DCore::QNode *parent = nullptr) | |
void | addAxisSetting(Qt3DInput::QAxisSetting *axisSetting) |
virtual int | axisCount() const |
virtual int | axisIdentifier(const QString &name) const |
virtual QStringList | axisNames() const |
QList<Qt3DInput::QAxisSetting *> | axisSettings() const |
virtual int | buttonCount() const |
virtual int | buttonIdentifier(const QString &name) const |
virtual QStringList | buttonNames() const |
void | removeAxisSetting(Qt3DInput::QAxisSetting *axisSetting) |
メンバ関数の説明
[explicit]
QAbstractPhysicalDevice::QAbstractPhysicalDevice(Qt3DCore::QNode *parent = nullptr)
新しい QAbstractPhysicalDevice インスタンスをparent で構築します。
void QAbstractPhysicalDevice::addAxisSetting(Qt3DInput::QAxisSetting *axisSetting)
axisSettingaxisSetting をこのデバイスに追加する。
[virtual]
int QAbstractPhysicalDevice::axisCount() const
このデバイスが持つ軸の数を返します。
[virtual]
int QAbstractPhysicalDevice::axisIdentifier(const QString &name) const
name の軸の識別子を整数で返すか、このデバイスに存在しない場合は -1 を返す。
[virtual]
QStringList QAbstractPhysicalDevice::axisNames() const
デバイスの軸名のリストを返す。
QList<Qt3DInput::QAxisSetting *> QAbstractPhysicalDevice::axisSettings() const
このデバイスに関連付けられている軸設定を返す。
[virtual]
int QAbstractPhysicalDevice::buttonCount() const
このデバイスが持つボタンの数を返します。
[virtual]
int QAbstractPhysicalDevice::buttonIdentifier(const QString &name) const
ボタンname の識別子を整数で返します。
[virtual]
QStringList QAbstractPhysicalDevice::buttonNames() const
デバイスのボタン名のリストを返す。
void QAbstractPhysicalDevice::removeAxisSetting(Qt3DInput::QAxisSetting *axisSetting)
このデバイスの軸設定axisSetting を削除する。
© 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.