FlattenLayersCommand

class omni.kit.usd.layers.FlattenLayersCommand(usd_context: Union[str, UsdContext] = '')

Bases: AbstractLayerCommand

Flatten Layers.

Methods

__init__([usd_context])

Constructor.

do_impl()

Abstract do function to be implemented.

undo_impl()

Abstract undo function to be implemented.

__init__(usd_context: Union[str, UsdContext] = '')

Constructor.

Keyword Arguments

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.