|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface AnimationEvent
AnimationEvent defines a trigger for an animation set to a keyframe. The AnimationEventManager handles linking a trigger to a BoneAnimation object. During the animation cycle, frames are used to find available triggers. If a trigger is found the performAction method is called.
| Method Summary | |
|---|---|
int |
getTriggerFrame()
Retrieves the animation frame that triggers this event. |
void |
performAction()
performAction executes the defined event of the implementing event. |
void |
setTriggerFrame(int frame)
Sets the animation frame that triggers this event. |
| Methods inherited from interface com.jme.util.export.Savable |
|---|
getClassTag, read, write |
| Method Detail |
|---|
int getTriggerFrame()
void setTriggerFrame(int frame)
frame - sets the animation frame that triggers this event.void performAction()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||