modify_anim_state_graph
Apply a batch of structural operations to an animation state graph as one undoable transaction. Manage layers, states, transitions, conditions, and parameters in a single call.
Instructions
Apply a validated batch of structural operations to an anim state graph as one undoable transaction. Add operations may omit id to allocate one; generated ids and the resulting graph are returned. State deletion also deletes attached transitions. Parameter deletion is rejected while conditions use it. Use layer.update defaultStateId to change a layer default before removing its old default state.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| assetId | Yes | Anim state graph asset id | |
| operations | Yes |