LiveSessionModel#
- class omni.kit.widget.live_session_management.LiveSessionModel(
- layers_interface,
- layer_identifier,
- update_users=True,
Bases:
LiveSessionComboBoxModel
omni.ui Model for omni.ui.Combobox, which can be used to build customized combobox for listing/watching/selecting Live Sessions for a specific layer.
Methods
__init__
(layers_interface, layer_identifier)Constructor.
Empty by default
destroy
()Attributes
- __init__(
- layers_interface,
- layer_identifier,
- update_users=True,
Constructor.
- Parameters:
layers_interface (omni.kit.usd.layers.Layers) – Layers instance.
layer_identifier (str) – Layer identifier to query.
update_users (bool) – When it’s True, it will listen for user list updates for the Live Session that’s currently selected by this model.
- create_new_session_name() str #
Empty by default