com.badlogic.gdx.graphics.g3d.loaders.md5
Class MD5Animation
java.lang.Object
com.badlogic.gdx.graphics.g3d.Animation
com.badlogic.gdx.graphics.g3d.loaders.md5.MD5Animation
public class MD5Animation
- extends Animation
Represents an MD5 (Doom 3) skeletal animation.
- Author:
- Mario Zechner , Nathan Sweet , Dave Clayton
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
frameRate
public int frameRate
secondsPerFrame
public float secondsPerFrame
frames
public MD5Joints[] frames
bounds
public BoundingBox[] bounds
name
public java.lang.String name
MD5Animation
public MD5Animation()
write
public void write(java.io.DataOutputStream out)
throws java.io.IOException
- Throws:
java.io.IOException
read
public void read(java.io.DataInputStream in)
throws java.io.IOException
- Throws:
java.io.IOException
interpolate
public static void interpolate(MD5Joints skeletonA,
MD5Joints skeletonB,
MD5Joints skeletonOut,
float t)
getLength
public float getLength()
- Specified by:
getLength
in class Animation
getNumFrames
public int getNumFrames()
- Specified by:
getNumFrames
in class Animation
Copyright 2010 Mario Zechner (contact@badlogicgames.com), Nathan Sweet (admin@esotericsoftware.com)