SetLayerMutenessCommand
- class omni.kit.usd.layers.SetLayerMutenessCommand(layer_identifier: str, muted: bool, usd_context: Union[str, UsdContext] = '')
Bases:
AbstractLayerCommand
Sets mute state for layer.
Methods
__init__
(layer_identifier, muted[, usd_context])Constructor.
do_impl
()Abstract do function to be implemented.
Abstract undo function to be implemented.
- __init__(layer_identifier: str, muted: bool, usd_context: Union[str, UsdContext] = '')
Constructor.
- Keyword Arguments
layer_identifier (str) – The identifier of layer to be muted/unmuted.
muted (bool) – Muted or not of this layer.
usd_context (Union[str, omni.usd.UsdContext]) – Usd context name or instance. It uses default context if it’s empty.
- do_impl()
Abstract do function to be implemented.
- undo_impl()
Abstract undo function to be implemented.