public class Animation extends Object
NodeAnimation
instances. Each NodeAnimation animates a single Node
in the
Model
. Every NodeAnimation
is assumed to have the same amount of keyframes, at the same timestamps, as all
other node animations for faster keyframe searches.Modifier and Type | Field and Description |
---|---|
float |
duration
the duration in seconds
|
String |
id
the unique id of the animation
|
Array<NodeAnimation> |
nodeAnimations
the animation curves for individual nodes
|
Constructor and Description |
---|
Animation() |
public String id
public float duration
public Array<NodeAnimation> nodeAnimations
Copyright © 2014. All rights reserved.