







![]() ![]() |
Project Mercury API Reference |
Calculator..::.CubicInterpolate Method (Single%, Single, Single, Single) |
Calculator Class See Also Send Feedback |
[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 void CubicInterpolate( ref float value, float value1, float value2, float amount ) |
Visual Basic (Declaration) |
---|
Public Shared Sub CubicInterpolate ( _ ByRef value As Single, _ value1 As Single, _ value2 As Single, _ amount As Single _ ) |
Visual C++ |
---|
public: static void CubicInterpolate( float% value, float value1, float value2, float amount ) |
Parameters
- value
- Type:
System..::.Single
%
The output value.
- value1
- Type: System..::.Single
Source value.
- value2
- Type: System..::.Single
Source value.
- amount
- Type: System..::.Single
Weighting value.