Skip to content

Keyframe

Keyframe dataclass

Keyframe(frame_time: int, keyframe_interpolation_type: KeyframeInterpolationType, label: Label, continuous_bezier: bool, auto_bezier: bool, roving_across_time: bool)

Keyframe of a property.

Attributes:

Name Type Description
frame_time int

Time of the keyframe, in frames.

keyframe_interpolation_type KeyframeInterpolationType

Interpolation type for the specified keyframe.

label Label

The label color. Colors are represented by their number (0 for None, or 1 to 16 for one of the preset colors in the Labels preferences).

continuous_bezier bool

True if the specified keyframe has temporal continuity.

auto_bezier bool

True if the specified keyframe has spatial auto-Bezier interpolation.

roving_across_time bool

True if the specified keyframe is roving. The first and last keyframe in a property cannot rove.