GestureBindingManipulator#
- class omni.ui.scene.GestureBindingManipulator(bindings: dict = None, *args, **kwargs)#
Bases:
ManipulatorBase class, resposible for building up the gestures.
Methods
__init__([bindings])Constructor
destroy()Destroys the manipulator instance.
get_default_bindings()get_gestures(*args, **kwargs)Get the gestures for the Manipulator's bindings, possibly rebuilding them if dirty.
Attributes
Return the bindings assigned to the manipulator.
- __init__(
- bindings: dict = None,
- *args,
- **kwargs,
Constructor
- Parameters:
bindings (dict|str) – Bindings to use for the manipulator’s gestures.
\*args – Additional arguments to pass to the base class.
**kwargs – Additional arguments to pass to the base class.
- destroy()#
Destroys the manipulator instance.
- get_gestures(*args, **kwargs)#
Get the gestures for the Manipulator’s bindings, possibly rebuilding them if dirty.
- property bindings: dict | str#
Return the bindings assigned to the manipulator.