Vector2AnimationCurve


Declaration

[Serializable]
public sealed class Vector2AnimationCurve : IAnimationCurve<Vector2>

Description

Stores a collection of keyframes that can be evaluated over time as a Vector2.

Properties

xThe collection of keyframes for the x-axis of a Vector2.
yThe collection of keyframes for the y-axis of a Vector2.

Methods

EvaluateEvaluate the curve at the specified time.
AddKeyAdds a new key to the curve.
RemoveKeyRemoves a key.