com.badlogic.gdx.graphics.g3d.keyframed
Class KeyframeAnimation
java.lang.Object
com.badlogic.gdx.graphics.g3d.Animation
com.badlogic.gdx.graphics.g3d.keyframed.KeyframeAnimation
public class KeyframeAnimation
- extends Animation
- Author:
- Dave Clayton
Constructor Summary |
KeyframeAnimation(java.lang.String name,
int frames,
float length,
float sampleRate)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
name
public java.lang.String name
keyframes
public Keyframe[] keyframes
length
public float length
sampleRate
public float sampleRate
refs
public int refs
KeyframeAnimation
public KeyframeAnimation(java.lang.String name,
int frames,
float length,
float sampleRate)
getLength
public float getLength()
- Specified by:
getLength
in class Animation
getNumFrames
public int getNumFrames()
- Specified by:
getNumFrames
in class Animation
addRef
public void addRef()
removeRef
public int removeRef()
Copyright 2010 Mario Zechner (contact@badlogicgames.com), Nathan Sweet (admin@esotericsoftware.com)