Skip to main content

Animation Graph

Asset ID:animation_graph

An animation graph

Asset schema properties

uuid

uuid

Unique identifier for the asset

name

string

Name of the asset

inputDescriptor

array[object]

Inputs used by the graph

stateMachines

array[object]

Animation state machines

A state machine composed of states and transitions

states

array[object]

States of the state machine

A state in a state machine. A state is composed of nodes and outputs a pose

name

string

The name of the state

nodes

array[object]

The nodes of this state's animation graph

A node of the animation graph

inputs

array[uint32]

Indices of input nodes of the parent animation graph

nodeType

0state_machine1playback2blendspace_1d3blendspace_2d100blend101random200ik_aim201ik_two_bone

Type of the node

settings

Settings associated to this node

transitionIndices

array[uint32]

The transitions coming from the current state

transitions

array[object]

All transition between all states

A transition between two states in a state machine

condition

A variant of either exit time, data object entry or transition func index (depending on transition type)

durationInMs

float

Default:100

The duration of the transition for blending purposes

nextStateIndex

uint32

The index of the state to transition to

type

0invalid1state_played2simple_condition3scripted_condition

Default:0(invalid)

The transition type.