Interpolator::SetRate
Defined in:
Sets the rate at which an interpolator changes.
C4Time.h
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