Linearly interpolates between two Structure instances.
Interpolates between the structures a and b by the interpolant t . The parameter t is clamped to the range [0, 1].
When t ==0
results in a . When t ==1
results in b . When t ==0.5
results in the structure midway between a and b .
a | The first structure to interpolate with. |
b | The second structure to interpolate with. |
t | The interpolant. |
result | The structure in which the results are written in. |
NullReferenceException | If either a , b or result is null . |