Unravel Engine C++ Reference
|
Functions | |
float | linear (float progress) |
float | smooth_start (float progress) |
Modelled after quarter-cycle of sine wave. | |
float | smooth_stop (float progress) |
Modelled after quarter-cycle of sine wave (different phase) | |
float | smooth_start_stop (float progress) |
Modelled after half sine wave. | |
float | smooth_start2 (float progress) |
Modelled after the parabola y = x^2. | |
float | smooth_stop2 (float progress) |
Modelled after the parabola y = -x^2 + 2x. | |
float | smooth_start_stop2 (float progress) |
float | smooth_start3 (float progress) |
Modelled after the cubic y = x^3. | |
float | smooth_stop3 (float progress) |
Modelled after the cubic y = (x - 1)^3 + 1. | |
float | smooth_start_stop3 (float progress) |
float | smooth_start4 (float progress) |
Modelled after the quartic x^4. | |
float | smooth_stop4 (float progress) |
Modelled after the quartic y = 1 - (x - 1)^4. | |
float | smooth_start_stop4 (float progress) |
float | smooth_start5 (float progress) |
Modelled after the quintic y = x^5. | |
float | smooth_stop5 (float progress) |
Modelled after the quintic y = (x - 1)^5 + 1. | |
float | smooth_start_stop5 (float progress) |
float | smooth_start6 (float progress) |
Modelled after the exponential function y = 2^(10(x - 1)) | |
float | smooth_stop6 (float progress) |
Modelled after the exponential function y = -2^(-10x) + 1. | |
float | smooth_start_stop6 (float progress) |
float | circular_start (float progress) |
Modelled after shifted quadrant IV of unit circle. | |
float | circular_stop (float progress) |
Modelled after shifted quadrant II of unit circle. | |
float | circular_start_stop (float progress) |
float | elastic_start (float progress) |
Modelled after the damped sine wave y = sin(13pi/2*x)*pow(2, 10 * (x - 1)) | |
float | elastic_stop (float progress) |
Modelled after the damped sine wave y = sin(-13pi/2*(x + 1))*pow(2, -10x) + 1. | |
float | elastic_start_stop (float progress) |
float | back_start (float progress) |
float | back_stop (float progress) |
float | back_start_stop (float progress) |
float | bounce_start (float progress) |
float | bounce_stop (float progress) |
float | bounce_start_stop (float progress) |
float | arch (float progress) |
float | arch_smooth_step (float progress) |
float | arch_smooth_start_stop (float progress) |
float | arch_smooth_start (float progress) |
float | arch_smooth_stop (float progress) |
std::function< float(float)> | create_back_start (float overshoot) |
std::function< float(float)> | create_back_stop (float overshoot) |
std::function< float(float)> | create_back_stop_stop (float overshoot) |
const std::vector< std::pair< std::string, std::function< float(float)> > > & | get_ease_list () |
float seq::ease::arch | ( | float | progress | ) |
Definition at line 485 of file seq_ease.cpp.
float seq::ease::arch_smooth_start | ( | float | progress | ) |
Definition at line 500 of file seq_ease.cpp.
float seq::ease::arch_smooth_start_stop | ( | float | progress | ) |
Definition at line 495 of file seq_ease.cpp.
float seq::ease::arch_smooth_step | ( | float | progress | ) |
Definition at line 490 of file seq_ease.cpp.
float seq::ease::arch_smooth_stop | ( | float | progress | ) |
Definition at line 505 of file seq_ease.cpp.
float seq::ease::back_start | ( | float | progress | ) |
Definition at line 455 of file seq_ease.cpp.
float seq::ease::back_start_stop | ( | float | progress | ) |
Definition at line 465 of file seq_ease.cpp.
float seq::ease::back_stop | ( | float | progress | ) |
Definition at line 460 of file seq_ease.cpp.
float seq::ease::bounce_start | ( | float | progress | ) |
Definition at line 470 of file seq_ease.cpp.
float seq::ease::bounce_start_stop | ( | float | progress | ) |
Definition at line 480 of file seq_ease.cpp.
float seq::ease::bounce_stop | ( | float | progress | ) |
Definition at line 475 of file seq_ease.cpp.
float seq::ease::circular_start | ( | float | progress | ) |
Modelled after shifted quadrant IV of unit circle.
Definition at line 416 of file seq_ease.cpp.
float seq::ease::circular_start_stop | ( | float | progress | ) |
Modelled after the piecewise circular function y = (1/2)(1 - sqrt(1 - 4x^2)) ; [0, 0.5) y = (1/2)(sqrt(-(2x - 3)*(2x - 1)) + 1) ; [0.5, 1]
Definition at line 430 of file seq_ease.cpp.
float seq::ease::circular_stop | ( | float | progress | ) |
Modelled after shifted quadrant II of unit circle.
Definition at line 422 of file seq_ease.cpp.
std::function< float(float)> seq::ease::create_back_start | ( | float | overshoot | ) |
Definition at line 511 of file seq_ease.cpp.
std::function< float(float)> seq::ease::create_back_stop | ( | float | overshoot | ) |
Definition at line 519 of file seq_ease.cpp.
std::function< float(float)> seq::ease::create_back_stop_stop | ( | float | overshoot | ) |
Definition at line 527 of file seq_ease.cpp.
float seq::ease::elastic_start | ( | float | progress | ) |
Modelled after the damped sine wave y = sin(13pi/2*x)*pow(2, 10 * (x - 1))
Definition at line 436 of file seq_ease.cpp.
float seq::ease::elastic_start_stop | ( | float | progress | ) |
Modelled after the piecewise exponentially-damped sine wave: y = (1/2)*sin(13pi/2*(2*x))*pow(2, 10 * ((2*x) - 1)) ; [0,0.5) y = (1/2)*(sin(-13pi/2*((2x-1)+1))*pow(2,-10(2*x-1)) + 2) ; [0.5, 1]
Definition at line 450 of file seq_ease.cpp.
float seq::ease::elastic_stop | ( | float | progress | ) |
Modelled after the damped sine wave y = sin(-13pi/2*(x + 1))*pow(2, -10x) + 1.
Definition at line 442 of file seq_ease.cpp.
const std::vector< std::pair< std::string, std::function< float(float)> > > & seq::ease::get_ease_list | ( | ) |
Definition at line 535 of file seq_ease.cpp.
float seq::ease::linear | ( | float | progress | ) |
Definition at line 292 of file seq_ease.cpp.
float seq::ease::smooth_start | ( | float | progress | ) |
Modelled after quarter-cycle of sine wave.
Definition at line 298 of file seq_ease.cpp.
float seq::ease::smooth_start2 | ( | float | progress | ) |
Modelled after the parabola y = x^2.
Definition at line 316 of file seq_ease.cpp.
float seq::ease::smooth_start3 | ( | float | progress | ) |
Modelled after the cubic y = x^3.
Definition at line 336 of file seq_ease.cpp.
float seq::ease::smooth_start4 | ( | float | progress | ) |
Modelled after the quartic x^4.
Definition at line 356 of file seq_ease.cpp.
float seq::ease::smooth_start5 | ( | float | progress | ) |
Modelled after the quintic y = x^5.
Definition at line 376 of file seq_ease.cpp.
float seq::ease::smooth_start6 | ( | float | progress | ) |
Modelled after the exponential function y = 2^(10(x - 1))
Definition at line 396 of file seq_ease.cpp.
float seq::ease::smooth_start_stop | ( | float | progress | ) |
Modelled after half sine wave.
Definition at line 310 of file seq_ease.cpp.
float seq::ease::smooth_start_stop2 | ( | float | progress | ) |
Modelled after the piecewise quadratic y = (1/2)((2x)^2) ; [0, 0.5) y = -(1/2)((2x-1)*(2x-3) - 1) ; [0.5, 1]
Definition at line 330 of file seq_ease.cpp.
float seq::ease::smooth_start_stop3 | ( | float | progress | ) |
Modelled after the piecewise cubic y = (1/2)((2x)^3) ; [0, 0.5) y = (1/2)((2x-2)^3 + 2) ; [0.5, 1]
Definition at line 350 of file seq_ease.cpp.
float seq::ease::smooth_start_stop4 | ( | float | progress | ) |
Modelled after the piecewise quartic y = (1/2)((2x)^4) ; [0, 0.5) y = -(1/2)((2x-2)^4 - 2) ; [0.5, 1]
Definition at line 370 of file seq_ease.cpp.
float seq::ease::smooth_start_stop5 | ( | float | progress | ) |
Modelled after the piecewise quintic y = (1/2)((2x)^5) ; [0, 0.5) y = (1/2)((2x-2)^5 + 2) ; [0.5, 1]
Definition at line 390 of file seq_ease.cpp.
float seq::ease::smooth_start_stop6 | ( | float | progress | ) |
Modelled after the piecewise exponential y = (1/2)2^(10(2x - 1)) ; [0,0.5) y = -(1/2)*2^(-10(2x - 1))) + 1 ; [0.5,1]
Definition at line 410 of file seq_ease.cpp.
float seq::ease::smooth_stop | ( | float | progress | ) |
Modelled after quarter-cycle of sine wave (different phase)
Definition at line 304 of file seq_ease.cpp.
float seq::ease::smooth_stop2 | ( | float | progress | ) |
Modelled after the parabola y = -x^2 + 2x.
Definition at line 322 of file seq_ease.cpp.
float seq::ease::smooth_stop3 | ( | float | progress | ) |
Modelled after the cubic y = (x - 1)^3 + 1.
Definition at line 342 of file seq_ease.cpp.
float seq::ease::smooth_stop4 | ( | float | progress | ) |
Modelled after the quartic y = 1 - (x - 1)^4.
Definition at line 362 of file seq_ease.cpp.
float seq::ease::smooth_stop5 | ( | float | progress | ) |
Modelled after the quintic y = (x - 1)^5 + 1.
Definition at line 382 of file seq_ease.cpp.
float seq::ease::smooth_stop6 | ( | float | progress | ) |
Modelled after the exponential function y = -2^(-10x) + 1.
Definition at line 402 of file seq_ease.cpp.