Click or drag to resize
Ab4d.SharpEngine logo

Color3SmoothStep(Color3, Color3, Single) Method

Performs a cubic interpolation between two colors.

Namespace: Ab4d.SharpEngine.Common
Assembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 2.0.8956+4c7684e186ca1be74e7a284fbe739d9a1b843d3c
Syntax
C#
public static Color3 SmoothStep(
	 in Color3 start,
	 in Color3 end,
	float amount
)

Parameters

start  Color3
Start color.
end  Color3
End color.
amount  Single
Value between 0 and 1 indicating the weight of end.

Return Value

Color3
The cubic interpolation of the two colors.
See Also