SetEditTargetCommand#
- class omni.kit.usd.layers.SetEditTargetCommand(
- layer_identifier: str,
- usd_context: str | UsdContext = '',
Bases:
AbstractLayerCommand
Sets layer as Edit Target.
Methods
__init__
(layer_identifier[, usd_context])Constructor.
do_impl
()Abstract do function to be implemented.
Abstract undo function to be implemented.
- __init__(
- layer_identifier: str,
- usd_context: str | UsdContext = '',
Constructor.
- Keyword Arguments:
layer_identifier (str) – Layer identifier.
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.