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

gesture_payload

Contains all the information about the intersection.

gestures

All the gestures assigned to this shape.

__init__(*args, **kwargs)
get_gesture_payload(*args, **kwargs)

Overloaded function.

  1. get_gesture_payload(self: omni.ui_scene._scene.AbstractShape) -> omni.ui_scene._scene.AbstractGesture.GesturePayload

Contains all the information about the intersection.

  1. 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.