ChangeAttributesColorSpaceCommand

class omni.usd.commands.ChangeAttributesColorSpaceCommand(attributes: List[Attribute], color_space: Any)

Bases: Command

Change attribute color space.

Methods

__init__(attributes, color_space)

Constructor.

do()

undo()

__init__(attributes: List[Attribute], color_space: Any)

Constructor.

Parameters
  • attributes (List[str]) – attributes to set color space on.

  • color_space – Value of metadata to change to.