|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface IMD5Animation
IMD5Animation defines the interface of a completed
loaded MD5 animation.
| Method Summary | |
|---|---|
void |
addAnimation(IMD5Animation animation)
Add a child MD5 animation. |
IMD5Animation |
clone()
Clone this animation. |
float |
getAnimationTime()
Retrieve the total time of a complete cycle of this animation. |
int |
getFrameCount()
Retrieve the total number of frames. |
java.lang.String[] |
getJointIDs()
Retrieve the IDs of joints of this animation. |
java.lang.String |
getName()
Retrieve the name of this animation. |
IFrame |
getNextFrame()
Retrieve the next frame. |
int |
getNextIndex()
Retrieve the next frame index number. |
float |
getNextTime()
Retrieve the starting time of the next frame. |
float |
getPercentage()
Get the complete percentage of the current cycle. |
IFrame |
getPreviousFrame()
Retrieve the previous frame. |
int |
getPreviousIndex()
Retrieve the previous frame index number. |
float |
getPreviousTime()
Retrieve the starting time of the previous frame. |
boolean |
isBackward()
Check if this animation is being played backward. |
boolean |
isCyleComplete()
Check if one cycle of this animation is complete, but the new one has not yet started. |
void |
removeAnimation(IMD5Animation animation)
Remove the given animation. |
void |
reset()
Reset the time and frame index information. |
void |
update(float time,
int repeat,
float speed)
Update the frame index based on given values. |
| Methods inherited from interface com.jme.util.export.Savable |
|---|
getClassTag, read, write |
| Method Detail |
|---|
void update(float time,
int repeat,
float speed)
time - The Float frame interpolation.repeat - The Controller repeat type.speed - The Float speed of the controller.void addAnimation(IMD5Animation animation)
animation - The child IMD5Animation to be added.void removeAnimation(IMD5Animation animation)
animation - The child IMD5Animation to be removed.float getAnimationTime()
Float complete cycle time.int getFrameCount()
Integer number of frames.float getPercentage()
Float percentage value.IFrame getPreviousFrame()
IFrame.int getPreviousIndex()
Integer index number.float getPreviousTime()
Float starting time.IFrame getNextFrame()
IFrame.int getNextIndex()
Integer index number.float getNextTime()
Float starting time.java.lang.String[] getJointIDs()
String IDs.java.lang.String getName()
String name.boolean isBackward()
boolean isCyleComplete()
void reset()
IMD5Animation clone()
IMD5Animation instance.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||