|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectespresso3d.engine.base.E3DEngineItem
espresso3d.engine.lowlevel.texture.E3DAnimatedTextureFrame
| Constructor Summary | |
E3DAnimatedTextureFrame(E3DEngine engine,
java.lang.String textureName,
double life)
Create an animated texture frame. |
|
| Method Summary | |
double |
getAge()
Returns the age of the frame (how long its been rendererd already) |
double |
getLife()
Gets the life of the frame (number of seconds it renders before going to the next frame) |
E3DTexture |
getTexture()
Returns the E3DTexture object for this frame |
protected boolean |
isFrameChangeNeeded(double lastFrameTimeSeconds)
|
void |
reset()
Resets the frame's age. |
void |
setLife(double life)
Gets the life of the frame (number of seconds it renders before going to the next frame) |
void |
setTexture(E3DTexture texture)
Sets the textue for the frame |
protected boolean |
update(double lastFrameTimeSeconds)
|
| Methods inherited from class espresso3d.engine.base.E3DEngineItem |
getEngine, setEngine |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public E3DAnimatedTextureFrame(E3DEngine engine,
java.lang.String textureName,
double life)
engine - Engine the texture will reside intextureName - Name of the texture for this framelife - Length of time (Seconds) this frame will be rendered before going to the next| Method Detail |
public void reset()
public double getLife()
public void setLife(double life)
life - Number of seconds to render this framepublic E3DTexture getTexture()
public void setTexture(E3DTexture texture)
texture - public double getAge()
protected boolean update(double lastFrameTimeSeconds)
protected boolean isFrameChangeNeeded(double lastFrameTimeSeconds)
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||