InputSettings QML Type

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

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



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.

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