Keyframe(bpy_struct)

base class — bpy_struct

class bpy.types.Keyframe(bpy_struct)

Bezier curve point with two handles defining a Keyframe on an F-Curve

co

Coordinates of the control point

Type :float array of 2 items in [-inf, inf], default (0.0, 0.0)
handle_left

Coordinates of the first handle

Type :float array of 2 items in [-inf, inf], default (0.0, 0.0)
handle_left_type

Handle types

Type :enum in [‘FREE’, ‘AUTO’, ‘VECTOR’, ‘ALIGNED’], default ‘FREE’
handle_right

Coordinates of the second handle

Type :float array of 2 items in [-inf, inf], default (0.0, 0.0)
handle_right_type

Handle types

Type :enum in [‘FREE’, ‘AUTO’, ‘VECTOR’, ‘ALIGNED’], default ‘FREE’
interpolation

Interpolation method to use for segment of the curve from this Keyframe until the next Keyframe

Type :enum in [‘CONSTANT’, ‘LINEAR’, ‘BEZIER’], default ‘CONSTANT’
select_control_point

Control point selection status

Type :boolean, default False
select_left_handle

Handle 1 selection status

Type :boolean, default False
select_right_handle

Handle 2 selection status

Type :boolean, default False
type

The type of keyframe

Type :enum in [‘KEYFRAME’, ‘BREAKDOWN’, ‘EXTREME’], default ‘KEYFRAME’

Inherited Properties

Inherited Functions

References

Previous topic

KeyboardSensor(Sensor)

Next topic

KeyingSet(bpy_struct)