このページでは

Qt3DInput::QLogicalDevice Class

class Qt3DInput::QLogicalDevice

QLogicalDevice を使用すると、ユーザーはアプリケーション内で実行したい一連のアクションを定義することができます。詳細...

ヘッダー: #include <qlogicaldevice.h>
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)

親デバイスとしてparent を持つ新しいQLogicalDeviceインスタンスを作成します。

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 を軸のリストから削除します。

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