rename_skeletal_mesh_morph_target
Rename a morph target on a skeletal mesh asset and save the mesh. Fails if the old name does not exist or the new name already exists.
Instructions
Rename a morph target on a skeletal mesh asset and save the mesh. Fails if old_name is not a morph target of the mesh or new_name already exists; a failed save also returns an error although the rename stays in memory. Returns old_name, new_name and renamed.
Returns: { old_name: string, new_name: string, skeletal_mesh_path: string, renamed: bool }
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| new_name | Yes | New morph target name; must not already exist on the mesh. | |
| old_name | Yes | Current morph target name, as get_skeletal_mesh_morph_targets lists it. | |
| skeletal_mesh_path | Yes | Skeletal mesh asset path, e.g. "/Game/Characters/SKM_Hero". |