OSDN Git Service

26c74c634d3b4e5e893da264527786f5bec496c0
[mikumikustudio/libgdx-mikumikustudio.git] / gdx / src / com / badlogic / gdx / graphics / g3d / model / NodeKeyframe.java
1 package com.badlogic.gdx.graphics.g3d.model;
2
3 import com.badlogic.gdx.math.Quaternion;
4 import com.badlogic.gdx.math.Vector3;
5
6 /**
7  * A BoneyKeyframe specifies the translation, rotation and scale of a frame within
8  * a {@link NodeAnimation}.
9  * @author badlogic
10  *
11  */
12 public class NodeKeyframe {
13         /** the timestamp of this keyframe **/
14         public float keytime;
15         /** the translation, given in local space, relative to the parent **/
16         public final Vector3 translation = new Vector3();
17         /** the scale, given in local space relative to the parent **/
18         public final Vector3 scale = new Vector3(1,1,1);
19         /** the rotation, given in local space, relative to the parent **/
20         public final Quaternion rotation = new Quaternion();
21 }