FlightSpeedGesture#

class omni.kit.manipulator.camera.FlightSpeedGesture(
model: AbstractManipulatorModel,
configure_model: Callable | None = None,
flight_mode: Tuple | None = None,
name: str | None = None,
*args,
**kwargs,
)#

Bases: _CameraGestureBase

Methods

on_ended(*args, **kwargs)

Attributes

__init__(self: omni.ui_scene._scene.ScrollGesture, _on_ended: Callable[[omni::ui::scene::AbstractShape], None] = None, **kwargs) None#

Constructs an gesture to track when the user clicked the mouse.

### Arguments:

`onEnded :`

Function that is called when the user clicked the mouse button.

`kwargsdict`

See below

### Keyword Arguments:

`mouse_button`

The mouse button this gesture is watching.

`modifiers`

The modifier that should be pressed to trigger this gesture.

`on_ended_fn`

Called when the user scrolls.

`name`

The name of the object. It’s used for debugging.

`manager`

The Manager that controld this gesture.