public class StaticKeyframeAnimation<K,A> extends BaseKeyframeAnimation<K,A>
BaseKeyframeAnimation.AnimationListener| Constructor and Description |
|---|
StaticKeyframeAnimation(A initialValue) |
| Modifier and Type | Method and Description |
|---|---|
void |
addUpdateListener(BaseKeyframeAnimation.AnimationListener listener) |
A |
getValue() |
A |
getValue(Keyframe<K> keyframe,
float keyframeProgress)
keyframeProgress will be [0, 1] unless the interpolator has overshoot in which case, this
should be able to handle values outside of that range.
|
void |
setProgress(float progress) |
getProgress, setIsDiscretepublic StaticKeyframeAnimation(A initialValue)
public void setProgress(float progress)
setProgress in class BaseKeyframeAnimation<K,A>public void addUpdateListener(BaseKeyframeAnimation.AnimationListener listener)
addUpdateListener in class BaseKeyframeAnimation<K,A>public A getValue()
getValue in class BaseKeyframeAnimation<K,A>public A getValue(Keyframe<K> keyframe, float keyframeProgress)
BaseKeyframeAnimation