|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.jme.animation.Keyframe
public class Keyframe
Keyframe
defines a positional or a rotational keyframe. The
keyframe defines a position a vertex should be at a given time. An animation
system uses a collection of these keyframes to build a sequence of
transitions to manipulate and animate a collection of vertices.
Field Summary | |
---|---|
float |
time
The time in milliseconds after the start of the animation for which that keyframe occurs. |
float |
x
For a position keyframe (x,y,z) are the coordinates to translate. |
float |
y
For a position keyframe (x,y,z) are the coordinates to translate. |
float |
z
For a position keyframe (x,y,z) are the coordinates to translate. |
Constructor Summary | |
---|---|
Keyframe(float time,
float x,
float y,
float z)
Create a keyframe at a given time and vector. |
Method Summary | |
---|---|
java.lang.Class |
getClassTag()
|
void |
read(JMEImporter e)
|
void |
write(JMEExporter e)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public float time
public float x
public float y
public float z
Constructor Detail |
---|
public Keyframe(float time, float x, float y, float z)
time
- the time in milliseconds after the start of the animation
for which that keyframe occurs.x
- the x value of the translation or rotation for the keyframe.y
- the y value of the translation or rotation for the keyframe.z
- the z value of the translation or rotation for the keyframe.Method Detail |
---|
public void write(JMEExporter e) throws java.io.IOException
write
in interface Savable
java.io.IOException
public void read(JMEImporter e) throws java.io.IOException
read
in interface Savable
java.io.IOException
public java.lang.Class getClassTag()
getClassTag
in interface Savable
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |