AbstractGesture#
- class omni.ui.scene.AbstractGesture#
Bases:
pybind11_object
The base class for the gestures to provides a way to capture mouse events in 3d scene.
Methods
__init__
(*args, **kwargs)get_gesture_payload
(*args, **kwargs)Overloaded function.
process
(self)Process the gesture and call callbacks if necessary.
Attributes
Shortcut for sender.get_gesturePayload.
The Manager that controld this gesture.
The name of the object.
Get the internal state of the gesture.
- __init__(*args, **kwargs)#
- get_gesture_payload(*args, **kwargs)#
Overloaded function.
get_gesture_payload(self: omni.ui_scene._scene.AbstractGesture) -> omni.ui_scene._scene.AbstractGesture.GesturePayload
Shortcut for sender.get_gesturePayload. OMNIUI_SCENE_API const*
get_gesture_payload(self: omni.ui_scene._scene.AbstractGesture, arg0: omni.ui_scene._scene.GestureState) -> omni.ui_scene._scene.AbstractGesture.GesturePayload
Shortcut for sender.get_gesturePayload. OMNIUI_SCENE_API const*
- process( ) None #
Process the gesture and call callbacks if necessary.
- property gesture_payload#
Shortcut for sender.get_gesturePayload. OMNIUI_SCENE_API const*
- property manager#
The Manager that controld this gesture.
- property name#
The name of the object. It’s used for debugging.
- property state#
Get the internal state of the gesture.