CubicInterpolate Method (Single, Single, Single)

Project Mercury API

[This is preliminary documentation and is subject to change.]

Interpolates between two values using a cubic equation.

Namespace:  ProjectMercury
Assembly:  ProjectMercury (in ProjectMercury.dll) Version: 3.1.0.0

Syntax

C#
public static float CubicInterpolate(
	float value1,
	float value2,
	float amount
)
Visual Basic (Declaration)
Public Shared Function CubicInterpolate ( _
	value1 As Single, _
	value2 As Single, _
	amount As Single _
) As Single
Visual C++
public:
static float CubicInterpolate(
	float value1, 
	float value2, 
	float amount
)

Parameters

value1
Type: System..::.Single
Source value.
value2
Type: System..::.Single
Source value.
amount
Type: System..::.Single
Weighting value.

Return Value

Interpolated value.

See Also