public class MoveToPositionAnimator extends PositionAnimator
| Modifier and Type | Field and Description |
|---|---|
protected double |
positionMinEpsilon |
protected double |
smoothing |
protected boolean |
useSmoothing |
begin, end, propertyAccessorinterpolator| Constructor and Description |
|---|
MoveToPositionAnimator(Position begin,
Position end,
double smoothing,
PropertyAccessor.PositionAccessor propertyAccessor) |
| Modifier and Type | Method and Description |
|---|---|
void |
next()
Calls the
set method with the next interpolant as determined
by the interpolator member. |
Position |
nextPosition(double interpolant) |
getBegin, getEnd, getPropertyAccessor, setBegin, setEnd, setImplflagLastStateInvalid, hasNext, isLastStateValid, isStopOnInvalidState, set, setStopOnInvalidState, start, stopprotected double positionMinEpsilon
protected double smoothing
protected boolean useSmoothing
public MoveToPositionAnimator(Position begin, Position end, double smoothing, PropertyAccessor.PositionAccessor propertyAccessor)
public void next()
BasicAnimatorset method with the next interpolant as determined
by the interpolator member.next in interface Animatornext in class BasicAnimatorpublic Position nextPosition(double interpolant)
nextPosition in class PositionAnimator