rename_pose_in_pose_asset
Rename a pose within a UPoseAsset, validating the old and new names and saving the change in an undo transaction so animation pose assets stay consistent.
Instructions
Rename an existing named pose in a UPoseAsset (UPoseAsset::ModifyPoseName) in an undo transaction and save it; renamed is measured by reading the pose names back. An unknown old_pose_name, a new_pose_name another pose already has, or a rename the engine does not take is an error with nothing saved; the same name for both is a success with renamed=false and saved=false, and nothing is modified or saved. A failed save makes success false, with saved=false and save_error.
Returns: { pose_asset_path, old_pose_name, new_pose_name, renamed, contains_new, contains_old, num_poses, pose_names, saved, save_error, message }
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| new_pose_name | Yes | New name for the pose. | |
| old_pose_name | Yes | Current name of the pose to rename. | |
| pose_asset_path | Yes | Path to the UPoseAsset. |