rename_anim_curve
Rename a float or transform curve on a UAnimSequence through its data controller in one undo step and save it.
Instructions
Rename a float or transform curve on a UAnimSequence through its data controller (one undo step) and save it; errors when the source curve does not exist or the rename is refused. The same name for both is a success with renamed=false, saved=false and a note, and nothing is written or saved. Any curve_type other than transform means float. Returns renamed and saved. A failed save makes success false, with saved=false and save_error.
Returns: { anim_sequence_path, old_curve_name, new_curve_name, renamed, saved, save_error, note? }
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| curve_type | No | Curve type to target: float (default) or transform | |
| new_curve_name | Yes | Name the curve gets after the rename. | |
| old_curve_name | Yes | Name of the existing curve to rename, as listed by get_anim_curve_names. | |
| anim_sequence_path | Yes | Full asset path to the UAnimSequence |