34 void SetParams(
float flFrom,
float flTo,
float flDuration);
int Execute(float flTime)
Move the raw value toward the target by the time elapsed since the last call.
void SetTarget(float flTarget)
Set the raw value to move toward.
LinearAnim()
Start at 0 with no time recorded, mapping 0 through 1 onto 0 through 100 over 240 units.
float Val() const
Report the mapped value.
void Jump(float flTarget)
Set the target and move the raw value almost onto it at once.
void SetParams(float flFrom, float flTo, float flDuration)
Set the mapping and the rate.