Extension: omni.kit.widget.live_session_management-1.2.20

Documentation Generated: Nov 07, 2024

Overview

Extension omni.kit.widget.live_session_management provides API and utilities to implement workflow for Live Session. It includes the following extensions:

All of those are built on top of the API support from omni.kit.usd.layers.

Viewer Only Mode

This extension also supports a viewer only mode, which means:

  • When joining a live session, if the user has unsaved changes, skip the dialog and automatically reload the stage, then join the session.

  • When creating a live session, if the user has unsaved changes, skip the dialog and automatically reload the stage, then create the session.

  • When leaving a live session, do not offer to merge changes, instead reload the stage to its original state.

This mode can be controlled by setting omni.kit.widget.live_session_management.VIEWER_ONLY_MODE_SETTING. And you can use omni.kit.widget.live_session_management.is_viewer_only_mode() to query if it’s enabled.