add_retargeter_op
Add a retarget op to an IK Retargeter asset's op stack via its controller, then save the asset. Returns op index, name, type, and save status.
Instructions
Add a retarget op to the op stack of an IK Retargeter asset through its controller (one undo transaction), then save the asset; op_index and op_name are where and how the engine placed it. Default type: FK Chains op. An unknown op type, or a singleton op type the stack already has, is an error. A failed save makes success false, with saved=false and save_error.
Returns: { asset_path: string, op_index: int, op_name: string, op_type: string, op_count: int, saved: bool, save_error?: string }
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| op_type | No | Optional op class path (default "/Script/IKRig.IKRetargetFKChainsOp") | |
| ik_retargeter_path | Yes | Path to the UIKRetargeter asset |