QInputAspect Class

( Qt3DInput::QInputAspect )

Responsible for creating physical devices and handling associated jobs. 更多...

頭: #include <QInputAspect>
qmake: QT += 3dinput
Since: Qt 5.5
繼承: Qt3DCore::QAbstractAspect

公共函數

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

靜態公共成員

const QMetaObject staticMetaObject

額外繼承成員

詳細描述

Responsible for creating physical devices and handling associated jobs.

Handles mapping between front and backend nodes

QInputAspect is responsible for creating physical devices. It is also the object responsible establishing the jobs to run at a particular time from the current input setup.

成員函數文檔編製

QInputAspect:: QInputAspect ( QObject * parent = nullptr)

構造新的 QInputAspect with parent .

QStringList QInputAspect:: availablePhysicalDevices () const

Returns a list of all available physical devices.

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

Create a physical device identified by name using the input device integrations present returns a nullptr if it is not found.

注意: Caller is responsible for ownership.