AbstractShape
- class omni.ui.scene.AbstractShape
Bases:
AbstractItem
Base class for all the items that can be drawn and intersected with mouse pointer.
Methods
__init__
(*args, **kwargs)get_gesture_payload
(*args, **kwargs)Overloaded function.
Attributes
Contains all the information about the intersection.
All the gestures assigned to this shape.
- __init__(*args, **kwargs)
- get_gesture_payload(*args, **kwargs)
Overloaded function.
get_gesture_payload(self: omni.ui_scene._scene.AbstractShape) -> omni.ui_scene._scene.AbstractGesture.GesturePayload
Contains all the information about the intersection.
get_gesture_payload(self: omni.ui_scene._scene.AbstractShape, arg0: omni.ui_scene._scene.GestureState) -> omni.ui_scene._scene.AbstractGesture.GesturePayload
Contains all the information about the intersection at the specific state.
- property gesture_payload
Contains all the information about the intersection.
- property gestures
All the gestures assigned to this shape.