set_anim_retarget_source
Set a UAnimSequence's retarget source and optional reference-pose sequence, then save changes in an undo transaction. Use it to retarget animation to another skeleton or clear retarget settings.
Instructions
Set a UAnimSequence's retarget source (and optionally its retarget reference-pose sequence) in an undo transaction and save it. A ref_pose_seq_path that does not load is an error before anything changes; values the sequence already has are a success with changed=false, applied_count 0, saved=false and a note, and nothing is modified or saved. A failed save makes success false, with saved=false and save_error.
Returns: { anim_sequence_path, retarget_source, ref_pose_seq, ref_pose_seq_set, ref_pose_seq_cleared, applied_count, notes, changed, success, saved, save_error, note? }
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| retarget_source | No | Retarget-source name (FName). Must name an entry in the owning skeleton's retarget-source map to RESOLVE at runtime, but the property write persists regardless. Use 'None' (or empty) to clear. | |
| ref_pose_seq_path | No | Optional object path of a UAnimSequence used as the additive retarget reference pose (RefPoseSeq). Pass empty/'None' to clear it. | |
| anim_sequence_path | Yes | Object path of the UAnimSequence to mutate. |