[]
        
(Showing Draft Content)

C1.Util.DX.Vector4.LerpRef

LerpRef Method

LerpRef(out Vector4, ref Vector4, ref Vector4, float)

Performs a linear interpolation between two vectors based on the given weighting.

Declaration
public static void LerpRef(out Vector4 result, ref Vector4 value1, ref Vector4 value2, float amount)
Parameters
Type Name Description
Vector4 result

When the method completes, contains an the interpolated vector.

Vector4 value1

The first vector.

Vector4 value2

The second vector.

float amount

A value between 0 and 1 that indicates the weight of value2.