SceneViewAttachMode#
- class omni.kit.scene_view.xr_utils.SceneViewAttachMode(
- value,
- names=<not given>,
- *values,
- module=None,
- qualname=None,
- type=None,
- start=1,
- boundary=None,
Bases:
EnumEnum for whether or not a scene view should be attached to the main viewport
- Options:
- ATTACH_TO_MAIN_VIEWPORT:
The scene view will be attached to the main viewport. This is the default behavior, and should be expected to work correctly for normal SceneView usage.
- DO_NOT_ATTACH_TO_MAIN_VIEWPORT:
The scene view will not be attached to the main viewport. Most normal interaction will still work from XR tools, however currently custom gesture subclasses and gesture managers are known to not work correctly with this option.
Attributes
ATTACH_TO_MAIN_VIEWPORTDO_NOT_ATTACH_TO_MAIN_VIEWPORT- __init__(*args, **kwds)#