Layers#
- class omni.kit.usd.layers.Layers(layers_instance, usd_context: UsdContext)#
Bases:
objectLayers is the Python container of ILayersInstance, through which you can access all interfaces. For each UsdContext, it has a separate Layers instance.
Methods
__init__(layers_instance, usd_context)Gets AutoAuthoring interface.
Gets the current edit mode.
Gets event stream of Layers instance.
Gets the last error string.
Gets the last error type.
Gets LayersState interface.
Gets LiveSyncing interface.
Gets SpecsLinking interface.
Gets SpecsLocking interface.
set_edit_mode(edit_mode)Sets the current edit mode.
Attributes
The UsdContext this instance is bound to.
- __init__(
- layers_instance,
- usd_context: UsdContext,
- get_auto_authoring() AutoAuthoring#
Gets AutoAuthoring interface.
- get_edit_mode() LayerEditMode#
Gets the current edit mode.
- get_event_stream()#
Gets event stream of Layers instance.
- get_last_error_string()#
Gets the last error string.
- get_last_error_type() LayerErrorType#
Gets the last error type.
- get_layers_state() LayersState#
Gets LayersState interface.
- get_live_syncing() LiveSyncing#
Gets LiveSyncing interface.
- get_specs_linking() SpecsLinking#
Gets SpecsLinking interface.
- get_specs_locking() SpecsLocking#
Gets SpecsLocking interface.
- set_edit_mode(
- edit_mode: LayerEditMode,
Sets the current edit mode.
- property usd_context: UsdContext#
The UsdContext this instance is bound to.