InputSettings QML Type | Qt 3D 5.12.10

- Qt 5.12
- Qt 3D
- QML Types
- InputSettings QML Type
- Qt 5.12.10 Reference Documentation

# 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

- List of all members, including inherited members

## Properties

- eventSource : Object

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