@modoki/engine / index / Keyframe
Interface: Keyframe
Animation
broken?
optionalbroken?:boolean
When true, the in/out tangents are edited independently (a "broken" key).
inTangent
inTangent:
number
Incoming tangent slope (value-units per second). STEPPED is allowed.
inWeight?
optionalinWeight?:number
Weighted-tangent weight for the incoming handle (0..1). Default 1/3.
outTangent
outTangent:
number
Outgoing tangent slope (value-units per second). STEPPED → hold this value.
outWeight?
optionaloutWeight?:number
Weighted-tangent weight for the outgoing handle (0..1). Default 1/3.
t
t:
number
Time in SECONDS along the clip.
tangentMode?
optionaltangentMode?:TangentMode
How the tangents were last set. Persisted so recording (and a neighbor value change) re-applies the SAME mode instead of flattening to 'auto'. Absent ⇒ treated as 'auto' for backward compatibility with older clips.
v
v:
number
Value at this key (see TrackValueType for encoding).