|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectprefuse.activity.ThereAndBackPacer
public class ThereAndBackPacer
Pacing function that maps the animation fraction f such that it ranges from 0 to 1 and then back to 0 again. This is useful for animations with periodic activity.
| Constructor Summary | |
|---|---|
ThereAndBackPacer()
|
|
| Method Summary | |
|---|---|
double |
pace(double f)
Pacing function for providing there-and-back (periodic) transitions. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ThereAndBackPacer()
| Method Detail |
|---|
public double pace(double f)
pace in interface Pacerf - the input value, should be between 0-1
Pacer.pace(double)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||