QInputSettingsclass holds the pointer to an input event source object. 更多 …
def
eventSource
()
def
setEventSource
(eventSource)
def
eventSourceChanged
(arg__1)
QInputSettingscomponent 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, aQWindowinstance can be an event source.另请参阅
QMouseDeviceQKeyboardDevice
PySide2.Qt3DInput.Qt3DInput.
QInputSettings
(
[
parent=None
]
)
¶
parent
–
QNode
PySide2.Qt3DInput.Qt3DInput.QInputSettings.
eventSource
(
)
¶
QObject
另请参阅
PySide2.Qt3DInput.Qt3DInput.QInputSettings.
eventSourceChanged
(
arg__1
)
¶
arg__1
–
QObject
PySide2.Qt3DInput.Qt3DInput.QInputSettings.
setEventSource
(
eventSource
)
¶
eventSource
–
QObject
另请参阅