|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Tickable
Defines the behaviour of all tickable smoothers that can be advanced over time.
Method Summary | |
---|---|
void |
setSmoothness(float smoothness)
Should set the smoothness value that determines the rate of transition towards a target. |
void |
tick()
Should advance the time used by the smoother to move towards its target. |
Method Detail |
---|
void tick()
void setSmoothness(float smoothness)
smoothness
- The smoothness of the transition towards a target. It is scaled between
0 and 1. A value of 0 has abrupt changes, 1 is very smooth. A value of
0.9 gives nice workable smoothness for typical animations.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |