com.jme.animation
Class TextureAnimationController
java.lang.Object
com.jme.scene.Controller
com.jme.animation.TextureAnimationController
- All Implemented Interfaces:
- Savable, java.io.Serializable
public class TextureAnimationController
- extends Controller
- See Also:
- Serialized Form
| 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 |
TextureAnimationController
public TextureAnimationController()
TextureAnimationController
public TextureAnimationController(TextureState ts)
TextureAnimationController
public TextureAnimationController(Texture... t)
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()
- Description copied from interface:
Savable
- The peristed type for the object.
Note that tag here does not mean XML tag, but the class that the object
is tagged with.
- Specified by:
getClassTag in interface Savable- Overrides:
getClassTag in class Controller
Copyright 2003-2009 jMonkeyEngine