QInputAspect Class

class Qt3DInput::QInputAspect

物理デバイスの作成と関連ジョブの処理を担当。詳細...

ヘッダー #include <QInputAspect>
CMake: find_package(Qt6 REQUIRED COMPONENTS 3dinput)
target_link_libraries(mytarget PRIVATE Qt6::3dinput)
qmake: QT += 3dinput
を継承する: Qt3DCore::QAbstractAspect
ステータス非推奨

パブリック関数

QInputAspect(QObject *parent = nullptr)
QStringList availablePhysicalDevices() const
Qt3DInput::QAbstractPhysicalDevice *createPhysicalDevice(const QString &name)

詳細説明

QInputAspectは物理デバイスの作成を担当します。また、現在の入力セットアップから特定の時間に実行するジョブの確立を担当するオブジェクトでもあります。

メンバ関数のドキュメント

[explicit] QInputAspect::QInputAspect(QObject *parent = nullptr)

parent を持つ新しい QInputAspect を構築します。

QStringList QInputAspect::availablePhysicalDevices() const

利用可能なすべての物理デバイスのリストを返します。

Qt3DInput::QAbstractPhysicalDevice *QInputAspect::createPhysicalDevice(const QString &name)

入力デバイス統合を使用して、name で識別される物理デバイスを作成します。nullptr が見つからない場合は、 を返します。

注: 所有権は呼び出し側にある。

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