• 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

IAnimationCurve<T>.AddKey

Method in IAnimationCurve<T>

Declaration

void AddKey(float time, T 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).