QLogicalDevice Class
class Qt3DInput::QLogicalDeviceQLogicalDevice を使用すると、アプリケーション内で使用したいアクションのセットを定義できます。詳細...
ヘッダー | #include <QLogicalDevice> |
CMake: | find_package(Qt6 REQUIRED COMPONENTS 3dinput) target_link_libraries(mytarget PRIVATE Qt6::3dinput) |
qmake | QT += 3dinput |
QML で | LogicalDevice |
を継承しています: | Qt3DCore::QComponent |
ステータス | 非推奨 |
パブリック関数
QLogicalDevice(Qt3DCore::QNode *parent = nullptr) | |
QList<Qt3DInput::QAction *> | actions() const |
void | addAction(Qt3DInput::QAction *action) |
void | addAxis(Qt3DInput::QAxis *axis) |
QList<Qt3DInput::QAxis *> | axes() const |
void | removeAction(Qt3DInput::QAction *action) |
void | removeAxis(Qt3DInput::QAxis *axis) |
メンバ関数の説明
[explicit]
QLogicalDevice::QLogicalDevice(Qt3DCore::QNode *parent = nullptr)
新しい QLogicalDevice インスタンスを親parent で構築します。
QList<Qt3DInput::QAction *> QLogicalDevice::actions() const
アクションのリストを返します。
void QLogicalDevice::addAction(Qt3DInput::QAction *action)
アクションのリストにaction 。
void QLogicalDevice::addAxis(Qt3DInput::QAxis *axis)
軸のリストにaxis を追加する。
QList<Qt3DInput::QAxis *> QLogicalDevice::axes() const
軸のリストを返す。
void QLogicalDevice::removeAction(Qt3DInput::QAction *action)
アクションリストからaction を削除する。
void QLogicalDevice::removeAxis(Qt3DInput::QAxis *axis)
軸のリストからaxis を削除する。
© 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.