Vector2AnimationCurve
Class in Zigurous.Animation
Implements IAnimationCurve<T>
Declaration
[Serializable]
public sealed class Vector2AnimationCurve : IAnimationCurve<Vector2>
Description
Stores a collection of keyframes that can be evaluated over time as a Vector2.
Properties
x | The collection of keyframes for the x-axis of a Vector2. |
y | The collection of keyframes for the y-axis of a Vector2. |
Methods
Evaluate | Evaluate the curve at the specified time. |
AddKey | Adds a new key to the curve. |
RemoveKey | Removes a key. |