• Manual
  • Scripting API
  • Changelog
  • License
🏷️ Namespaces
  • Zigurous.Animation
🧱 Classes
  • AnimatedMaterialTiling
  • AnimatedSprite
  • AxisConstraintExtensions
  • BillboardRotation
  • Blink
  • FollowPath
  • InputRotation
  • LockPosition
  • LockRotation
  • LockScale
  • LockTransform
  • LookAtMouse
  • MatchPosition
  • MatchRotation
  • MatchScale
  • MatchTransform
  • Move
  • Orbit
  • Rotate
  • RotateAround
  • Scale
  • SmoothDamp<T>
  • SmoothDampFloat
  • SmoothDampQuaternion
  • SmoothDampVector2
  • SmoothDampVector3
  • SmoothFollow
  • SmoothLookAt
  • TransformConstraintExtensions
  • UpdateBehaviour
  • Vector2AnimationCurve
  • Vector3AnimationCurve
  • Vector4AnimationCurve
🗂️ Structs
  • AnimatorParameter
  • Timing
  • Timing01
  • TimingRange
  • TimingRange01
🎚️ Interfaces
  • IAnimationCurve<T>
📋 Enums
  • AxisConstraint
  • FollowPath.LoopType
  • TransformConstraint
  • UpdateMode

Vector2AnimationCurve.AddKey

Method in Vector2AnimationCurve
Implements IAnimationCurve<T>.AddKey

Declaration

public void AddKey(float time, Vector2 value)

Description

Adds a new key to the curve.

Parameters

timeThe time at which to add the key (horizontal axis in the curve graph).
valueThe value for the key (vertical axis in the curve graph).