Interpolator Class
Namespace: Stride.AnimationsAssembly: Stride.Engine.dll
Various helper functions for float, Vector2, Vector3, Vector4 and Quaternion interpolations.
System.Object →
Interpolator
Derived from Interpolator:
public static class Interpolator
Name | Description | |
---|---|---|
Methods | ||
Cubic(Single, Single, Single, Single, Single) | ||
Linear(Single, Single, Single) |
Methods
Cubic(Single, Single, Single, Single, Single)
public static float Cubic(float value1, float value2, float value3, float value4, float t)
Parameters
Type | Name | Description |
---|---|---|
System.Single | value1 | |
System.Single | value2 | |
System.Single | value3 | |
System.Single | value4 | |
System.Single | t |
Returns
Type | Description |
---|---|
System.Single |
Linear(Single, Single, Single)
public static float Linear(float value1, float value2, float t)
Parameters
Type | Name | Description |
---|---|---|
System.Single | value1 | |
System.Single | value2 | |
System.Single | t |
Returns
Type | Description |
---|---|
System.Single |