get_anim_graph
Retrieve full JSON of an EMotion FX anim graph by id or file name, covering nodes, transitions, parameters, node groups, and state machine details.
Instructions
Describe one EMotion FX anim graph in full.
Returns the gem's JSON: nodes (with type, parent, position, ports and
connections; state machines also carry entry_state_id),
transitions (with blend time and conditions), parameters,
node_groups and the root_state_machine_id. Pass exactly one
selector. An unknown graph is returned as an error. Needs the AiCompanion
gem's native request (gem 0.6.0+) and the EMotionFX gem.
Args:
anim_graph_id: Graph id from list_anim_graphs (number or digit string).
file_name: Graph file name, matched exactly first, then by its tail
case-insensitively (for example Character.animgraph).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_name | No | ||
| anim_graph_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |