# AnimationNode

Class · category: Animation (Legacy)

Source: https://github.com/playcanvas/engine/blob/970d89f6d3bc6667f4e1f88153abd6e7e82ed52c/src/scene/animation/animation.js#L17

AnimationNode represents an array of keyframes that animate the transform of a [GraphNode](https://api.playcanvas.com/engine/classes/GraphNode.md)
over time. Typically, an [Animation](https://api.playcanvas.com/engine/classes/Animation.md) maintains a collection of AnimationNodes, one for
each GraphNode in a [Skeleton](https://api.playcanvas.com/engine/classes/Skeleton.md).

## Constructors

### constructor

```ts
new AnimationNode()
```

Create a new AnimationNode instance.
