libgdx API

com.badlogic.gdx.graphics.g3d
Class AnimatedModelNode

java.lang.Object
  extended by com.badlogic.gdx.graphics.g3d.StillModelNode
      extended by com.badlogic.gdx.graphics.g3d.AnimatedModelNode
All Implemented Interfaces:
AnimatedModelInstance, StillModelInstance

public class AnimatedModelNode
extends StillModelNode
implements AnimatedModelInstance


Field Summary
 java.lang.String animation
           
 boolean looping
           
 float time
           
 
Fields inherited from class com.badlogic.gdx.graphics.g3d.StillModelNode
materials, matrix, origin, radius, transformedPosition
 
Constructor Summary
AnimatedModelNode()
           
AnimatedModelNode(Material[] materials)
           
 
Method Summary
 AnimatedModelNode copy()
           
 java.lang.String getAnimation()
           
 float getAnimationTime()
           
 boolean isLooping()
           
 
Methods inherited from class com.badlogic.gdx.graphics.g3d.StillModelNode
getBoundingSphereRadius, getMaterials, getSortCenter, getTransform
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.badlogic.gdx.graphics.g3d.StillModelInstance
getBoundingSphereRadius, getMaterials, getSortCenter, getTransform
 

Field Detail

animation

public java.lang.String animation

time

public float time

looping

public boolean looping
Constructor Detail

AnimatedModelNode

public AnimatedModelNode()

AnimatedModelNode

public AnimatedModelNode(Material[] materials)
Method Detail

getAnimation

public java.lang.String getAnimation()
Specified by:
getAnimation in interface AnimatedModelInstance

getAnimationTime

public float getAnimationTime()
Specified by:
getAnimationTime in interface AnimatedModelInstance

isLooping

public boolean isLooping()
Specified by:
isLooping in interface AnimatedModelInstance

copy

public AnimatedModelNode copy()
Overrides:
copy in class StillModelNode

libgdx API

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