AnimationGraphManager
1.5.0+
Manage animation graphs.
Creation
Creating an animation graph with a one dimensional blend tree is done using blend1D
- AnimationGraphManager
- .constructor(scene) ⇒ AnimationGraphManager
- .blend1D(anims) ⇒ AnimationGraph
.constructor(scene: Prefab) ⇒ AnimationGraphManager
| Param | Type | Description |
|---|---|---|
| scene | Prefab |
.blend1D(anims: Animation[]) ⇒ AnimationGraph
Generate an animation graph that blends between a list of animation in 1 dimension.
Usage
Note: All animations must have the same number of tracks and only the first animation has to be retargeted to the object/skin.
Returns: The new animation graph.
| Param | Type | Description |
|---|---|---|
| anims | Animation[] | Array of anims to blend. |