Click or drag to resize
Ab4d.SharpEngine logo

Color3SmoothStep(Color3, Color3, Single, Color3) Method

Note: This API is now obsolete.

Performs a cubic interpolation between two colors.

Namespace: Ab4d.SharpEngine.Common
Assembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 4.1.9680+a1b1e43de1ad9a7e35472c33948d688d7b40ef79
Syntax
C#
[ObsoleteAttribute("Method with ref parameters are obsolete and will be removed in one of the future version. Use the method with the same name and with in parameter instead.")]
public static void SmoothStep(
	ref Color3 start,
	ref Color3 end,
	float amount,
	out Color3 result
)

Parameters

start  Color3
Start color.
end  Color3
End color.
amount  Single
Value between 0 and 1 indicating the weight of end.
result  Color3
When the method completes, contains the cubic interpolation of the two colors.
See Also