ComputeAnimationCurveVector2 Class
Namespace: Stride.AnimationsAssembly: Stride.Engine.dll
Constant Vector2 value for the IComputeCurve interface
System.Object → System.Collections.Generic.Comparer<AnimationKeyFrame<Vector2>> → ComputeAnimationCurve<Vector2> →
ComputeAnimationCurveVector2
Derived from ComputeAnimationCurveVector2:
[DataContract("ComputeAnimationCurveVector2")]
[Display("Animation", null, Expand = ExpandRule.Never)]
public class ComputeAnimationCurveVector2 : ComputeAnimationCurve<Vector2>, IComparer<AnimationKeyFrame<Vector2>>, IComparer, IComputeCurve<Vector2>, IComputeCurve
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 override 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 |
Overrides
Stride.Animations.ComputeAnimationCurve<Stride.Core.Mathematics.Vector2>.Cubic(Stride.Core.Mathematics.Vector2, Stride.Core.Mathematics.Vector2, Stride.Core.Mathematics.Vector2, Stride.Core.Mathematics.Vector2, System.Single, Stride.Core.Mathematics.Vector2)
Linear(ref Vector2, ref Vector2, Single, out Vector2)
public override 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 |
Overrides
Stride.Animations.ComputeAnimationCurve<Stride.Core.Mathematics.Vector2>.Linear(Stride.Core.Mathematics.Vector2, Stride.Core.Mathematics.Vector2, System.Single, Stride.Core.Mathematics.Vector2)
Inherited Members
System.Collections.Generic.Comparer<Stride.Animations.AnimationKeyFrame<Stride.Core.Mathematics.Vector2>>.Create(System.Comparison<Stride.Animations.AnimationKeyFrame<Stride.Core.Mathematics.Vector2>>)
System.Collections.Generic.Comparer<Stride.Animations.AnimationKeyFrame<Stride.Core.Mathematics.Vector2>>.System.Collections.IComparer.Compare(System.Object, System.Object)
System.Collections.Generic.Comparer<Stride.Animations.AnimationKeyFrame<Stride.Core.Mathematics.Vector2>>.Default