|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A window animation is performed in. It is a mutable pair of states: (start, end). The end state doesn't initially exist.
Method Summary | |
boolean |
animUseful()
|
void |
changeStartState(float fract)
After this renderAnim(0, ...) would do the same as renderAnim(fract, ...) did before the call, if the end state wasn't destroyed (which it is). |
void |
endAnimation()
Same as changeStartState(1), except that the end state doesn't exist afterwards. |
boolean |
generateEndState(int millis,
float lod)
Creates an end state, and returns true iff the time given for generation was sufficient for the given level of detail. |
boolean |
hasEndState()
Whether the endstate has been generated. |
void |
renderAnim(float fract,
float lod,
boolean showFinal)
Render state between start and end (interpolation), with the specified level of detail. |
void |
renderStill(float lod)
Same as renderAnim(0, lod), except that it's not allowed to crash even if the end state doesn't exist. |
Method Detail |
public boolean generateEndState(int millis, float lod)
public boolean animUseful()
public void renderAnim(float fract, float lod, boolean showFinal)
showFinal
- Whether to show (unanimated) the parts
of the final view that are not animated.
This can be used to make the effect of going slightly
too far - coming back faster, not making the user wait
for the very end of the animation to see everything.public void changeStartState(float fract)
public void renderStill(float lod)
public boolean hasEndState()
public void endAnimation()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |