Interpolator.Vector2 Class
Namespace: Stride.AnimationsAssembly: Stride.Engine.dll
System.Object →
Interpolator.Vector2
Derived from Interpolator.Vector2:
public static class Vector2
Name | Description | |
---|---|---|
Methods | ||
Cubic(ref Vector2, ref Vector2, ref Vector2, ref Vector2, Single, out Vector2) | ||
Linear(ref Vector2, ref Vector2, Single, out Vector2) |
Methods
Cubic(ref Vector2, ref Vector2, ref Vector2, ref Vector2, Single, out Vector2)
public static void Cubic(ref Vector2 value1, ref Vector2 value2, ref Vector2 value3, ref Vector2 value4, float t, out Vector2 result)
Parameters
Type | Name | Description |
---|---|---|
Vector2 | value1 | |
Vector2 | value2 | |
Vector2 | value3 | |
Vector2 | value4 | |
System.Single | t | |
Vector2 | result |
Linear(ref Vector2, ref Vector2, Single, out Vector2)
public static void Linear(ref Vector2 value1, ref Vector2 value2, float t, out Vector2 result)
Parameters
Type | Name | Description |
---|---|---|
Vector2 | value1 | |
Vector2 | value2 | |
System.Single | t | |
Vector2 | result |