[]
        
(Showing Draft Content)

C1.Util.DX.ColorF.SmoothStep

SmoothStep Method

SmoothStep(ColorF, ColorF, float)

Performs a cubic interpolation between two colors.

Declaration
public static ColorF SmoothStep(ColorF start, ColorF end, float amount)
Public Shared Function SmoothStep(start As ColorF, [end] As ColorF, amount As Single) As ColorF
Parameters
Type Name Description
ColorF start

Start color.

ColorF end

End color.

float amount

Value between 0 and 1 indicating the weight of end.

Returns
Type Description
ColorF

The cubic interpolation of the two colors.