Interface

UseTimelineKeyframeSegmentsOptions

Options accepted by `useTimelineKeyframeSegments`.

Signature

Type Definition
Interface UseTimelineKeyframeSegmentsOptions

Properties

NameSignatureDescription
clipId?clipId?: stringOptional clip id used to scope segment lists and commands.
collapsedTrackHeight?collapsedTrackHeight?: numberCollapsed track height in pixels.
edgeThreshold?edgeThreshold?: numberMouse/pen edge hit threshold in pixels.
keyframeSize?keyframeSize?: numberKeyframe affordance square size in CSS pixels.
keyframeValuePadding?keyframeValuePadding?: numberVertical padding used when mapping keyframe values into a clip row.
overscanPixels?overscanPixels?: numberExtra pixels around the viewport included in visibility tests.
propertyproperty: stringKeyframe property used to scope segment lists and commands.
rulerHeight?rulerHeight?: numberHeight of the top ruler region in pixels.
selectedClipOnly?selectedClipOnly?: booleanOnly include keyframes belonging to selected clips.
selectedKeyframeOnly?selectedKeyframeOnly?: booleanOnly include segments touching a selected keyframe. Defaults to false.
tangentHandleSize?tangentHandleSize?: numberBezier tangent affordance square size in CSS pixels.
touchEdgeThreshold?touchEdgeThreshold?: numberTouch edge hit threshold in pixels.
trackHeight?trackHeight?: numberDefault expanded track height in pixels.
viewportHeight?viewportHeight?: numberOptional viewport height in CSS pixels for vertical filtering.
viewportWidth?viewportWidth?: numberViewport width in CSS pixels. Defaults to the engine viewport width.