AddPayloadCommand#
- class omni.usd.commands.AddPayloadCommand(
- stage: Stage,
- prim_path: Path,
- payload: Payload,
- position=Usd.ListPositionBackOfPrependList,
Bases:
PayloadCommandBase
Add a payload to primitive.
Methods
__init__
(stage, prim_path, payload[, position])Constructor.
do
()- __init__(
- stage: Stage,
- prim_path: Path,
- payload: Payload,
- position=Usd.ListPositionBackOfPrependList,
Constructor.
- Parameters:
stage (Usd.Stage) – The stage to operate.
prim_path (Sdf.Path) – The prim path to add payload.
payload (Sdf.Payload) – The payload to be added.
position (Usd.ListPosition) – The list position to add the payload. Defaults to Usd.ListPositionBackOfPrependList.