72 void Jump(
float fValue,
float fTarget);
83 bool Update(
float fDelta,
bool bForce);
104 std::unique_ptr<Interpolator> mInterp;
Map from an input range to an output range, clamped at both ends.
Definition interpolator.h:11
void SetSpeed(float fSpeed)
Set the speed of a move.
void SetTarget(float fTarget)
Start moving from the current value toward a target.
void SetAnim(RndAnimatable *pAnim)
Pose an animation on the value.
RndAnimatable * GetAnim() const
Definition rampanimator.h:96
Interpolator * GetInterp() const
Definition rampanimator.h:91
bool Update(float fDelta, bool bForce)
Advance the move and pose the animation on the new value.
~RampAnimator()
Destroy the animator and its curve.
float GetValue() const
Definition rampanimator.h:86
void Jump(float fValue, float fTarget)
Move to a value at once and start moving from it toward a target.
RampAnimator(float fValue, RndAnimatable *pAnim, Interpolator *pInterp, float fSpeed)
Construct an animator resting at a value.
Mix-in for an object driven by a frame.
Definition rndanimatable.h:16