C4 Engine
C4 Engine API Documentation

Interpolator::SetRate

Defined in:  C4Time.h
Sets the rate at which an interpolator changes.
Prototype

void SetRate(float rate);

Parameters
rate The new interpolator rate.
Description
The SetRate function sets the current rate at which an interpolator changes to that specified by the rate parameter. The rate is measured in the change in value per millisecond. For example, if a rate of 0.005 is specified, it would take 200 ms to interpolate from an initial value of 0.0 to a final value of 1.0.
See Also

Interpolator::GetRate