omni.kit.scene_view.xr_utils Classes#

Classes Summary:

Area2DComponent

A 2D rectangular :py:class:`ManipulatorComponent` with width/height/origin.

ComposableManipulator

A wrapper around ``omni.ui.scene.Manipulator`` that owns a list of child components.

PreventGestureOverlap

Gesture manager that blocks new gestures while another is active.

Resize2DGestureHandler

Drag gesture that resizes a 2D ``Area2DComponent`` by moving its corners.

Resize2DHandleComponent

Handle component that drives 2D resize on a target via :py:class:`Resize2DGestureHandler`.

RotationGestureHandler

Drag gesture that writes yaw rotation into ``model.rotation``.

RotationHandleComponent

Handle component that drives rotation via :py:class:`RotationGestureHandler`.

ScaleGestureHandler

Drag gesture that writes uniform scale into ``model.scale``.

ScaleHandleComponent

Handle component that drives scale via :py:class:`ScaleGestureHandler`.

SceneViewAttachMode

Enum for whether or not a scene view should be attached to the main viewport

SceneViewManager

A utility class to help create and manage UI scene views for your extension.

SceneViewUtilsExtension

SpatialSource

Describes a transform contribution for placing a :py:class:`UiContainer` in 3D space.

TransformableManipulator

A :py:class:`ComposableManipulator` with translation/rotation/scale model state.

TransformableManipulatorModel

Model holding the translation, rotation, scale, and combined matrix of a manipulator.

TranslationGestureHandler

Drag gesture that writes ``model.translation`` while the user drags.

TranslationHandleComponent

Handle component that drives translation via :py:class:`TranslationGestureHandler`.

UiContainer

Primary entry point for placing an ``omni.ui`` widget in 3D space.

UpdatePolicy

Members:

WidgetComponent

Wraps an ``omni.ui.Widget`` subclass and gives it a physical size in 3D.