Node in a Model. The keyframes are given as a translation vector, a
rotation quaternion and a scale vector. Keyframes are interpolated linearly for now. Keytimes are given in seconds.
| Modifier and Type | Field and Description |
|---|---|
| public Node | node
the Node affected by this animation |
| public Array | rotation
the rotation keyframes if any (might be null), sorted by time ascending |
| public Array | scaling
the scaling keyframes if any (might be null), sorted by time ascending |
| public Array | translation
the translation keyframes if any (might be null), sorted by time ascending |
| Access | Constructor and Description |
|---|---|
| public |
| node | back to summary |
|---|---|
| public Node node the Node affected by this animation | |
| rotation | back to summary |
|---|---|
| public Array<NodeKeyframe<Quaternion>> rotation the rotation keyframes if any (might be null), sorted by time ascending | |
| scaling | back to summary |
|---|---|
| public Array<NodeKeyframe<Vector3>> scaling the scaling keyframes if any (might be null), sorted by time ascending | |
| translation | back to summary |
|---|---|
| public Array<NodeKeyframe<Vector3>> translation the translation keyframes if any (might be null), sorted by time ascending | |
| NodeAnimation | back to summary |
|---|---|
| public NodeAnimation() | |