Configuration for blend tree nodes.
const locomotionBlend: BlendTreeConfig = { type: '1d', parameter: 'speed', nodes: [ { animation: 'idle', threshold: 0 }, { animation: 'walk', threshold: 0.5 }, { animation: 'run', threshold: 1.0 } ]}; Copy
const locomotionBlend: BlendTreeConfig = { type: '1d', parameter: 'speed', nodes: [ { animation: 'idle', threshold: 0 }, { animation: 'walk', threshold: 0.5 }, { animation: 'run', threshold: 1.0 } ]};
Nodes in the blend tree
Parameter name controlling the blend
Optional
Secondary parameter for 2D blends
Blend tree type
Configuration for blend tree nodes.
Example