InputSettings QML Type

InputSettings holds the pointer to an input event source object. 更多...

Import Statement: import Qt3D.Input 2.0
开始支持版本: Qt 5.7
Instantiates: QInputSettings
基类:

Component3D

属性

详细描述

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.

参见 MouseDevice and KeyboardDevice.

属性

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.