set_morph_target_deltas
Set per-vertex position and normal deltas for a morph target at a chosen LOD in a skeletal mesh. Use it to update morph shapes and save the asset.
Instructions
Set vertex deltas for a morph target on a specific LOD. Each delta is a dict with keys: vertex_index (int), position_delta ({x,y,z}), normal_delta ({x,y,z}).
Returns: { morph_target_name: string, lod_index: int, deltas_set: int, total_deltas_lod0: int, saved: bool }
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| deltas | Yes | List of delta dicts, e.g. [{"vertex_index": 0, "position_delta": {"x": 1.0, "y": 0, "z": 0}, "normal_delta": {"x": 0, "y": 0, "z": 0}}] | |
| lod_index | No | LOD index to populate (default 0) | |
| morph_target_name | Yes | Name of the morph target to modify | |
| skeletal_mesh_path | Yes | Content path to the skeletal mesh asset |