public class SetAnimation extends AbstractAnimation
Modifier and Type | Field and Description |
---|---|
protected AnimatableValue |
to
The set animation value.
|
animatableElement, beginTime, CALC_MODE_DISCRETE, CALC_MODE_LINEAR, CALC_MODE_PACED, CALC_MODE_SPLINE, composedValue, higherAnimation, isActive, isDirty, isFrozen, lowerAnimation, timedElement, toAnimation, usesUnderlyingValue, value
Constructor and Description |
---|
SetAnimation(TimedElement timedElement,
AnimatableElement animatableElement,
AnimatableValue to)
Creates a new SetAnimation.
|
Modifier and Type | Method and Description |
---|---|
protected void |
sampledAt(float simpleTime,
float simpleDur,
int repeatIteration)
Called when the element is sampled at the given time.
|
protected void |
sampledLastValue(int repeatIteration)
Called when the element is sampled for its "last" value.
|
getComposedValue, getTimedElement, getValue, markDirty, toString, usesUnderlyingValue, willReplace
protected AnimatableValue to
public SetAnimation(TimedElement timedElement, AnimatableElement animatableElement, AnimatableValue to)
protected void sampledAt(float simpleTime, float simpleDur, int repeatIteration)
sampledAt
in class AbstractAnimation
protected void sampledLastValue(int repeatIteration)
sampledLastValue
in class AbstractAnimation
Copyright © 2022 Apache Software Foundation. All Rights Reserved.