Unravel Engine C++ Reference
Loading...
Searching...
No Matches
seq_ease.h File Reference
#include <vector>
#include <string>
#include <functional>
#include <utility>

Go to the source code of this file.

Namespaces

namespace  seq
 Provides a sequence-based action management system for controlling and scheduling actions.
 
namespace  seq::ease
 

Functions

float seq::ease::linear (float progress)
 
float seq::ease::smooth_start (float progress)
 Modelled after quarter-cycle of sine wave.
 
float seq::ease::smooth_stop (float progress)
 Modelled after quarter-cycle of sine wave (different phase)
 
float seq::ease::smooth_start_stop (float progress)
 Modelled after half sine wave.
 
float seq::ease::smooth_start2 (float progress)
 Modelled after the parabola y = x^2.
 
float seq::ease::smooth_stop2 (float progress)
 Modelled after the parabola y = -x^2 + 2x.
 
float seq::ease::smooth_start_stop2 (float progress)
 
float seq::ease::smooth_start3 (float progress)
 Modelled after the cubic y = x^3.
 
float seq::ease::smooth_stop3 (float progress)
 Modelled after the cubic y = (x - 1)^3 + 1.
 
float seq::ease::smooth_start_stop3 (float progress)
 
float seq::ease::smooth_start4 (float progress)
 Modelled after the quartic x^4.
 
float seq::ease::smooth_stop4 (float progress)
 Modelled after the quartic y = 1 - (x - 1)^4.
 
float seq::ease::smooth_start_stop4 (float progress)
 
float seq::ease::smooth_start5 (float progress)
 Modelled after the quintic y = x^5.
 
float seq::ease::smooth_stop5 (float progress)
 Modelled after the quintic y = (x - 1)^5 + 1.
 
float seq::ease::smooth_start_stop5 (float progress)
 
float seq::ease::smooth_start6 (float progress)
 Modelled after the exponential function y = 2^(10(x - 1))
 
float seq::ease::smooth_stop6 (float progress)
 Modelled after the exponential function y = -2^(-10x) + 1.
 
float seq::ease::smooth_start_stop6 (float progress)
 
float seq::ease::circular_start (float progress)
 Modelled after shifted quadrant IV of unit circle.
 
float seq::ease::circular_stop (float progress)
 Modelled after shifted quadrant II of unit circle.
 
float seq::ease::circular_start_stop (float progress)
 
float seq::ease::elastic_start (float progress)
 Modelled after the damped sine wave y = sin(13pi/2*x)*pow(2, 10 * (x - 1))
 
float seq::ease::elastic_stop (float progress)
 Modelled after the damped sine wave y = sin(-13pi/2*(x + 1))*pow(2, -10x) + 1.
 
float seq::ease::elastic_start_stop (float progress)
 
float seq::ease::back_start (float progress)
 
float seq::ease::back_stop (float progress)
 
float seq::ease::back_start_stop (float progress)
 
float seq::ease::bounce_start (float progress)
 
float seq::ease::bounce_stop (float progress)
 
float seq::ease::bounce_start_stop (float progress)
 
float seq::ease::arch (float progress)
 
float seq::ease::arch_smooth_step (float progress)
 
float seq::ease::arch_smooth_start_stop (float progress)
 
float seq::ease::arch_smooth_start (float progress)
 
float seq::ease::arch_smooth_stop (float progress)
 
std::function< float(float)> seq::ease::create_back_stop (float overshoot)
 
std::function< float(float)> seq::ease::create_back_start (float overshoot)
 
std::function< float(float)> seq::ease::create_back_stop_stop (float overshoot)
 
const std::vector< std::pair< std::string, std::function< float(float)> > > & seq::ease::get_ease_list ()