[]
        
(Showing Draft Content)

C1.Util.DX.ColorF.SmoothStepRef

SmoothStepRef Method

SmoothStepRef(out ColorF, ref ColorF, ref ColorF, float)

Performs a cubic interpolation between two colors.

Declaration
public static void SmoothStepRef(out ColorF result, ref ColorF start, ref ColorF end, float amount)
Parameters
Type Name Description
ColorF result

The cubic interpolation of the two colors.

ColorF start

Start color.

ColorF end

End color.

float amount

Value between 0 and 1 indicating the weight of end.