Interface

TimelineKeyframeSegment

Keyframe segment entry with viewport geometry and optional Bezier tangents.

Signature

Type Definition
Interface TimelineKeyframeSegment

Type parameters

NameConstraintDefaultDescription
TrackKindNonestringApp-defined track kind carried by the containing track.

Properties

NameSignatureDescription
canEditcanEdit: booleanWhether the segment can be edited by headless controls.
clipclip: ClipRaw timeline clip represented by this entry.
clipIndexclipIndex: numberZero-based clip index inside the containing track.
controlPoint1?controlPoint1?: TimelineKeyframePointFirst Bezier control point, present only for Bezier segments.
controlPoint2?controlPoint2?: TimelineKeyframePointSecond Bezier control point, present only for Bezier segments.
endKeyframeendKeyframe: TimelineKeyframeRight keyframe in the segment.
endKeyframeIndexendKeyframeIndex: numberZero-based end keyframe index inside the containing clip.
endPointendPoint: TimelineKeyframePointEnd keyframe point in viewport CSS pixels.
handleshandles: TimelineKeyframeTangentHandle<TrackKind>[]Bezier tangent handles for editable Bezier segments.
incomingincoming: TimelineKeyframeSideInterpolationNormalized incoming side data for the end keyframe.
interpolationinterpolation: TimelineKeyframeInterpolationEffective interpolation mode used from `startKeyframe` to `endKeyframe`.
outgoingoutgoing: TimelineKeyframeSideInterpolationNormalized outgoing side data for the start keyframe.
propertyproperty: stringProperty animated by the segment.
segmentIdsegmentId: stringStable segment id for the adjacent keyframe pair.
startKeyframestartKeyframe: TimelineKeyframeLeft keyframe in the segment.
startKeyframeIndexstartKeyframeIndex: numberZero-based start keyframe index inside the containing clip.
startPointstartPoint: TimelineKeyframePointStart keyframe point in viewport CSS pixels.
tracktrack: Track<TrackKind>Track containing the clip.
trackIndextrackIndex: numberZero-based track index in timeline order.