LERP

THE BOX'S MAIN HELP:
This function returns the linear interpolation between A and B at X.

A (input):
This value is returned if X <= 0.
This may be a float, point, normal, vector or color.
Must be the same data type as B.

B (input):
This value is returned if X >= 1.
This may be a float, point, normal, vector or color.
Must be the same data type as A.

X (input):
This may be a float, point, normal, vector or color.  However, 
if X is not a float, it must be the same data type as A and B.  
Best results are obtained using a float in the range [0,1].

OUT (output):
Result is of the same data type as A and B.
This function returns the linear interpolation between A and B at X.

<-- BACK TO Interpolation

© Copyright 1996,1998 Cinema Graphics Inc. All Rights reserved.