Version: 2017.2

Keyframe

struct in UnityEngine

Switch to Manual

Description

A single keyframe that can be injected into an animation curve.

Variables

inTangentDescribes the tangent when approaching this point from the previous point in the curve.
outTangentDescribes the tangent when leaving this point towards the next point in the curve.
tangentModeTangentMode is deprecated. Use AnimationUtility.SetKeyLeftTangentMode or AnimationUtility.SetKeyRightTangentMode instead.
timeThe time of the keyframe.
valueThe value of the curve at keyframe.

Constructors

KeyframeCreate a keyframe.