libgdx API

com.badlogic.gdx.graphics.g3d.keyframed
Class KeyframeAnimation

java.lang.Object
  extended by com.badlogic.gdx.graphics.g3d.Animation
      extended by com.badlogic.gdx.graphics.g3d.keyframed.KeyframeAnimation

public class KeyframeAnimation
extends Animation

Author:
Dave Clayton

Field Summary
 Keyframe[] keyframes
           
 float length
           
 java.lang.String name
           
 int refs
           
 float sampleRate
           
 
Constructor Summary
KeyframeAnimation(java.lang.String name, int frames, float length, float sampleRate)
           
 
Method Summary
 void addRef()
           
 float getLength()
           
 int getNumFrames()
           
 int removeRef()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

name

public java.lang.String name

keyframes

public Keyframe[] keyframes

length

public float length

sampleRate

public float sampleRate

refs

public int refs
Constructor Detail

KeyframeAnimation

public KeyframeAnimation(java.lang.String name,
                         int frames,
                         float length,
                         float sampleRate)
Method Detail

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()

libgdx API

Copyright 2010 Mario Zechner (contact@badlogicgames.com), Nathan Sweet (admin@esotericsoftware.com)