Blender  V3.3
Functions
BLI_easing.h File Reference

Go to the source code of this file.

Functions

float BLI_easing_back_ease_in (float time, float begin, float change, float duration, float overshoot)
 
float BLI_easing_back_ease_out (float time, float begin, float change, float duration, float overshoot)
 
float BLI_easing_back_ease_in_out (float time, float begin, float change, float duration, float overshoot)
 
float BLI_easing_bounce_ease_out (float time, float begin, float change, float duration)
 
float BLI_easing_bounce_ease_in (float time, float begin, float change, float duration)
 
float BLI_easing_bounce_ease_in_out (float time, float begin, float change, float duration)
 
float BLI_easing_circ_ease_in (float time, float begin, float change, float duration)
 
float BLI_easing_circ_ease_out (float time, float begin, float change, float duration)
 
float BLI_easing_circ_ease_in_out (float time, float begin, float change, float duration)
 
float BLI_easing_cubic_ease_in (float time, float begin, float change, float duration)
 
float BLI_easing_cubic_ease_out (float time, float begin, float change, float duration)
 
float BLI_easing_cubic_ease_in_out (float time, float begin, float change, float duration)
 
float BLI_easing_elastic_ease_in (float time, float begin, float change, float duration, float amplitude, float period)
 
float BLI_easing_elastic_ease_out (float time, float begin, float change, float duration, float amplitude, float period)
 
float BLI_easing_elastic_ease_in_out (float time, float begin, float change, float duration, float amplitude, float period)
 
float BLI_easing_expo_ease_in (float time, float begin, float change, float duration)
 
float BLI_easing_expo_ease_out (float time, float begin, float change, float duration)
 
float BLI_easing_expo_ease_in_out (float time, float begin, float change, float duration)
 
float BLI_easing_linear_ease (float time, float begin, float change, float duration)
 
float BLI_easing_quad_ease_in (float time, float begin, float change, float duration)
 
float BLI_easing_quad_ease_out (float time, float begin, float change, float duration)
 
float BLI_easing_quad_ease_in_out (float time, float begin, float change, float duration)
 
float BLI_easing_quart_ease_in (float time, float begin, float change, float duration)
 
float BLI_easing_quart_ease_out (float time, float begin, float change, float duration)
 
float BLI_easing_quart_ease_in_out (float time, float begin, float change, float duration)
 
float BLI_easing_quint_ease_in (float time, float begin, float change, float duration)
 
float BLI_easing_quint_ease_out (float time, float begin, float change, float duration)
 
float BLI_easing_quint_ease_in_out (float time, float begin, float change, float duration)
 
float BLI_easing_sine_ease_in (float time, float begin, float change, float duration)
 
float BLI_easing_sine_ease_out (float time, float begin, float change, float duration)
 
float BLI_easing_sine_ease_in_out (float time, float begin, float change, float duration)
 

Function Documentation

◆ BLI_easing_back_ease_in()

float BLI_easing_back_ease_in ( float  time,
float  begin,
float  change,
float  duration,
float  overshoot 
)

Definition at line 17 of file easing.c.

References time.

Referenced by fcurve_eval_keyframes_interpolate(), and gpencil_interpolate_seq_easing_calc().

◆ BLI_easing_back_ease_in_out()

float BLI_easing_back_ease_in_out ( float  time,
float  begin,
float  change,
float  duration,
float  overshoot 
)

Definition at line 31 of file easing.c.

References time.

Referenced by fcurve_eval_keyframes_interpolate(), and gpencil_interpolate_seq_easing_calc().

◆ BLI_easing_back_ease_out()

float BLI_easing_back_ease_out ( float  time,
float  begin,
float  change,
float  duration,
float  overshoot 
)

Definition at line 24 of file easing.c.

References time.

Referenced by fcurve_eval_keyframes_interpolate(), and gpencil_interpolate_seq_easing_calc().

◆ BLI_easing_bounce_ease_in()

float BLI_easing_bounce_ease_in ( float  time,
float  begin,
float  change,
float  duration 
)

◆ BLI_easing_bounce_ease_in_out()

float BLI_easing_bounce_ease_in_out ( float  time,
float  begin,
float  change,
float  duration 
)

◆ BLI_easing_bounce_ease_out()

float BLI_easing_bounce_ease_out ( float  time,
float  begin,
float  change,
float  duration 
)

◆ BLI_easing_circ_ease_in()

float BLI_easing_circ_ease_in ( float  time,
float  begin,
float  change,
float  duration 
)

Definition at line 74 of file easing.c.

References sqrtf, and time.

Referenced by fcurve_eval_keyframes_interpolate(), and gpencil_interpolate_seq_easing_calc().

◆ BLI_easing_circ_ease_in_out()

float BLI_easing_circ_ease_in_out ( float  time,
float  begin,
float  change,
float  duration 
)

Definition at line 86 of file easing.c.

References sqrtf, and time.

Referenced by fcurve_eval_keyframes_interpolate(), and gpencil_interpolate_seq_easing_calc().

◆ BLI_easing_circ_ease_out()

float BLI_easing_circ_ease_out ( float  time,
float  begin,
float  change,
float  duration 
)

Definition at line 80 of file easing.c.

References sqrtf, and time.

Referenced by fcurve_eval_keyframes_interpolate(), and gpencil_interpolate_seq_easing_calc().

◆ BLI_easing_cubic_ease_in()

float BLI_easing_cubic_ease_in ( float  time,
float  begin,
float  change,
float  duration 
)

Definition at line 95 of file easing.c.

References time.

Referenced by fcurve_eval_keyframes_interpolate(), and gpencil_interpolate_seq_easing_calc().

◆ BLI_easing_cubic_ease_in_out()

float BLI_easing_cubic_ease_in_out ( float  time,
float  begin,
float  change,
float  duration 
)

◆ BLI_easing_cubic_ease_out()

float BLI_easing_cubic_ease_out ( float  time,
float  begin,
float  change,
float  duration 
)

Definition at line 101 of file easing.c.

References time.

Referenced by fcurve_eval_keyframes_interpolate(), and gpencil_interpolate_seq_easing_calc().

◆ BLI_easing_elastic_ease_in()

float BLI_easing_elastic_ease_in ( float  time,
float  begin,
float  change,
float  duration,
float  amplitude,
float  period 
)

◆ BLI_easing_elastic_ease_in_out()

float BLI_easing_elastic_ease_in_out ( float  time,
float  begin,
float  change,
float  duration,
float  amplitude,
float  period 
)

◆ BLI_easing_elastic_ease_out()

float BLI_easing_elastic_ease_out ( float  time,
float  begin,
float  change,
float  duration,
float  amplitude,
float  period 
)

◆ BLI_easing_expo_ease_in()

float BLI_easing_expo_ease_in ( float  time,
float  begin,
float  change,
float  duration 
)

◆ BLI_easing_expo_ease_in_out()

float BLI_easing_expo_ease_in_out ( float  time,
float  begin,
float  change,
float  duration 
)

◆ BLI_easing_expo_ease_out()

float BLI_easing_expo_ease_out ( float  time,
float  begin,
float  change,
float  duration 
)

◆ BLI_easing_linear_ease()

float BLI_easing_linear_ease ( float  time,
float  begin,
float  change,
float  duration 
)

Definition at line 281 of file easing.c.

References time.

Referenced by fcurve_eval_keyframes_interpolate().

◆ BLI_easing_quad_ease_in()

float BLI_easing_quad_ease_in ( float  time,
float  begin,
float  change,
float  duration 
)

Definition at line 286 of file easing.c.

References time.

Referenced by fcurve_eval_keyframes_interpolate(), and gpencil_interpolate_seq_easing_calc().

◆ BLI_easing_quad_ease_in_out()

float BLI_easing_quad_ease_in_out ( float  time,
float  begin,
float  change,
float  duration 
)

Definition at line 298 of file easing.c.

References time.

Referenced by fcurve_eval_keyframes_interpolate(), and gpencil_interpolate_seq_easing_calc().

◆ BLI_easing_quad_ease_out()

float BLI_easing_quad_ease_out ( float  time,
float  begin,
float  change,
float  duration 
)

Definition at line 292 of file easing.c.

References time.

Referenced by fcurve_eval_keyframes_interpolate(), and gpencil_interpolate_seq_easing_calc().

◆ BLI_easing_quart_ease_in()

float BLI_easing_quart_ease_in ( float  time,
float  begin,
float  change,
float  duration 
)

Definition at line 307 of file easing.c.

References time.

Referenced by fcurve_eval_keyframes_interpolate(), and gpencil_interpolate_seq_easing_calc().

◆ BLI_easing_quart_ease_in_out()

float BLI_easing_quart_ease_in_out ( float  time,
float  begin,
float  change,
float  duration 
)

Definition at line 319 of file easing.c.

References time.

Referenced by fcurve_eval_keyframes_interpolate(), and gpencil_interpolate_seq_easing_calc().

◆ BLI_easing_quart_ease_out()

float BLI_easing_quart_ease_out ( float  time,
float  begin,
float  change,
float  duration 
)

Definition at line 313 of file easing.c.

References time.

Referenced by fcurve_eval_keyframes_interpolate(), and gpencil_interpolate_seq_easing_calc().

◆ BLI_easing_quint_ease_in()

float BLI_easing_quint_ease_in ( float  time,
float  begin,
float  change,
float  duration 
)

Definition at line 328 of file easing.c.

References time.

Referenced by fcurve_eval_keyframes_interpolate(), and gpencil_interpolate_seq_easing_calc().

◆ BLI_easing_quint_ease_in_out()

float BLI_easing_quint_ease_in_out ( float  time,
float  begin,
float  change,
float  duration 
)

Definition at line 338 of file easing.c.

References time.

Referenced by fcurve_eval_keyframes_interpolate(), and gpencil_interpolate_seq_easing_calc().

◆ BLI_easing_quint_ease_out()

float BLI_easing_quint_ease_out ( float  time,
float  begin,
float  change,
float  duration 
)

Definition at line 333 of file easing.c.

References time.

Referenced by fcurve_eval_keyframes_interpolate(), and gpencil_interpolate_seq_easing_calc().

◆ BLI_easing_sine_ease_in()

float BLI_easing_sine_ease_in ( float  time,
float  begin,
float  change,
float  duration 
)

Definition at line 347 of file easing.c.

References cosf, M_PI_2, and time.

Referenced by fcurve_eval_keyframes_interpolate(), and gpencil_interpolate_seq_easing_calc().

◆ BLI_easing_sine_ease_in_out()

float BLI_easing_sine_ease_in_out ( float  time,
float  begin,
float  change,
float  duration 
)

Definition at line 357 of file easing.c.

References cosf, M_PI, and time.

Referenced by fcurve_eval_keyframes_interpolate(), and gpencil_interpolate_seq_easing_calc().

◆ BLI_easing_sine_ease_out()

float BLI_easing_sine_ease_out ( float  time,
float  begin,
float  change,
float  duration 
)

Definition at line 352 of file easing.c.

References M_PI_2, sinf, and time.

Referenced by fcurve_eval_keyframes_interpolate(), and gpencil_interpolate_seq_easing_calc().