[This is preliminary documentation and is subject to change.]
Performs a linear interpolation between two matricies.
Namespace: Rage
Assembly: RagePluginHook (in RagePluginHook.dll) Version: 0.0.0.0 (0.56.1131.11510)
Syntax
public static void Lerp( ref Matrix start, ref Matrix end, float amount, out Matrix result )
Parameters
- start
- Type: RageMatrix
Start matrix. - end
- Type: RageMatrix
End matrix. - amount
- Type: SystemSingle
Value between 0 and 1 indicating the weight of end. - result
- Type: RageMatrix
When the method completes, contains the linear interpolation of the two matricies.
Remarks
start + (end - start) * amount
See Also