InputSettings holds the pointer to an input event source object. 更多...
import 语句: | import Qt3D.Input 2.2 |
Since: | Qt 5.7 |
实例化: | 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 : 对象 |
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.