com.jme.animation
Class TextureAnimationController

java.lang.Object
  extended by com.jme.scene.Controller
      extended by com.jme.animation.TextureAnimationController
All Implemented Interfaces:
Savable, java.io.Serializable

public class TextureAnimationController
extends Controller

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.jme.scene.Controller
RT_CLAMP, RT_CYCLE, RT_WRAP
 
Constructor Summary
TextureAnimationController()
           
TextureAnimationController(Texture... t)
           
TextureAnimationController(TextureState ts)
           
 
Method Summary
 java.lang.Class getClassTag()
           
 float getRotationDelta()
           
 Vector3f getTextureRotationAxis()
           
 Vector3f getTranslationDelta()
           
 float getXRepeat()
           
 float getYRepeat()
           
 float getZRepeat()
           
 void read(JMEImporter e)
           
 void setRotationDelta(float rotationDelta)
           
 void setTextureRotationAxis(Vector3f textureRotationAxis)
           
 void setTranslationDelta(Vector3f translationDelta)
           
 void setXRepeat(float repeat)
           
 void setYRepeat(float repeat)
           
 void setZRepeat(float repeat)
           
 void update(float time)
          Defined by extending classes, update is a signal to Controller that it should update whatever object(s) it is controlling.
 void write(JMEExporter e)
           
 
Methods inherited from class com.jme.scene.Controller
getControllerValues, getMaxTime, getMinTime, getRepeatType, getSpeed, isActive, setActive, setControllerValues, setMaxTime, setMinTime, setRepeatType, setSpeed
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TextureAnimationController

public TextureAnimationController()

TextureAnimationController

public TextureAnimationController(TextureState ts)

TextureAnimationController

public TextureAnimationController(Texture... t)
Method Detail

update

public void update(float time)
Description copied from class: Controller
Defined by extending classes, update is a signal to Controller that it should update whatever object(s) it is controlling.

Specified by:
update in class Controller
Parameters:
time - The time in seconds between the last call to update and the current one

getRotationDelta

public float getRotationDelta()

setRotationDelta

public void setRotationDelta(float rotationDelta)

getTranslationDelta

public Vector3f getTranslationDelta()

setTranslationDelta

public void setTranslationDelta(Vector3f translationDelta)

getXRepeat

public float getXRepeat()

setXRepeat

public void setXRepeat(float repeat)

getYRepeat

public float getYRepeat()

setYRepeat

public void setYRepeat(float repeat)

getZRepeat

public float getZRepeat()

setZRepeat

public void setZRepeat(float repeat)

getTextureRotationAxis

public Vector3f getTextureRotationAxis()

setTextureRotationAxis

public void setTextureRotationAxis(Vector3f textureRotationAxis)

write

public void write(JMEExporter e)
           throws java.io.IOException
Specified by:
write in interface Savable
Overrides:
write in class Controller
Throws:
java.io.IOException

read

public void read(JMEImporter e)
          throws java.io.IOException
Specified by:
read in interface Savable
Overrides:
read in class Controller
Throws:
java.io.IOException

getClassTag

public java.lang.Class getClassTag()
Specified by:
getClassTag in interface Savable
Overrides:
getClassTag in class Controller