138 const FCurve *fcu,
float start_frame,
float sample_rate,
float *samples,
int sample_count);
Functions to insert, delete or modify keyframes.
KeyframeSettings get_keyframe_settings(bool from_userprefs)
void initialize_bezt(BezTriple *beztr, float2 position, const KeyframeSettings &settings, eFCurve_Flags fcu_flags)
void sample_fcurve_segment(const FCurve *fcu, float start_frame, float sample_rate, float *samples, int sample_count)
const FCurve * fcurve_find(Span< const FCurve * > fcurves, FCurveDescriptor fcurve_descriptor)
bool fcurve_delete_keyframe_at_time(FCurve *fcurve, float time)
SingleKeyingResult insert_vert_fcurve(FCurve *fcu, const float2 position, const KeyframeSettings &settings, eInsertKeyFlags flag)
Main Key-framing API call.
void bake_fcurve(FCurve *fcu, blender::int2 range, float step, BakeCurveRemove remove_existing)
int insert_bezt_fcurve(FCurve *fcu, const BezTriple *bezt, eInsertKeyFlags flag)
Lesser Key-framing API call.
bool delete_keyframe_fcurve_legacy(AnimData *adt, FCurve *fcu, float cfra)
void bake_fcurve_segments(FCurve *fcu)
FCurve * create_fcurve_for_channel(FCurveDescriptor fcurve_descriptor)
std::optional< blender::StringRefNull > channel_group
std::optional< PropertySubType > prop_subtype
eBezTriple_Interpolation interpolation
eBezTriple_KeyframeType keyframe_type