TransformPrimsCommand
- class omni.usd.commands.TransformPrimsCommand(prims_to_transform: List[Tuple[str, Matrix4d, Matrix4d, TimeCode]])
Bases:
Command
Set local transforms for multiple primitives.
This command is a batch version of
TransformPrimCommand
Methods
__init__
(prims_to_transform)Constructor.
do
()undo
()- __init__(prims_to_transform: List[Tuple[str, Matrix4d, Matrix4d, TimeCode]])
Constructor.
- Parameters
prims_to_transform (ListList[Tuple[str, Gf.Matrix4d, Gf.Matrix4d, Usd.TimeCode]]) – List of primitives to transform in a tuple of (path, new_transform, old_transform).