InputSettings QML Type

InputSettings holds the pointer to an input event source object. More...

Import Statement: import Qt3D.Input 2.12
Since: Qt 5.7
Instantiates: QInputSettings
Inherits:

Component3D

Properties

Detailed Description

The InputSettings component must be set as a component of the scene root entity. It stores a pointer to the object that acts as the source of input events to be handled by various input classes. For example, a Window instance can be an event source.

See also MouseDevice and KeyboardDevice.

Property Documentation

eventSource : Object

Holds the current event source. An event source is an object that is capable of receiving various input events, such as mouse or keyboard events. Typically it is a Window instance.

© The Qt Company Ltd
Licensed under the GNU Free Documentation License, Version 1.3.
https://doc.qt.io/qt-5.12/qml-qt3d-input-inputsettings.html