Qt3DInput::QInputAspect Class
class Qt3DInput::QInputAspect物理デバイスの作成および関連する業務の処理を担当します。詳細...
| ヘッダー: | #include <qinputaspect.h> |
| 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) |
メンバー関数のドキュメント
[explicit] QInputAspect::QInputAspect(QObject *parent = nullptr)
parent を使用して、新しいQInputAspectを構築します。
QStringList QInputAspect::availablePhysicalDevices() const
利用可能なすべての物理デバイスのリストを返します。
Qt3DInput::QAbstractPhysicalDevice *QInputAspect::createPhysicalDevice(const QString &name)
name で識別される物理デバイスを作成します。既存の入力デバイス統合を使用し、該当するデバイスが見つからない場合は、nullptr を返します。
注: 所有権の管理は呼び出し元が 担当します。
© 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.