Unravel Engine C++ Reference
Loading...
Searching...
No Matches
seq_core.h File Reference
#include "seq_common.h"
#include "seq_ease.h"
#include "seq_private.h"
#include <vector>
#include "seq_core.hpp"

Go to the source code of this file.

Namespaces

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

Functions

template<typename T >
auto seq::change_from_to (T &object, const std::decay_t< T > &begin, const std::decay_t< T > &end, const duration_t &duration, const sentinel_t &sentinel, const ease_t &ease_func=ease::linear) -> seq_action
 Creates an action to change an object from one value to another over a specified duration.
 
template<typename T >
auto seq::change_from_to (const std::shared_ptr< T > &object, const std::decay_t< T > &begin, const std::decay_t< T > &end, const duration_t &duration, const ease_t &ease_func=ease::linear) -> seq_action
 Creates an action to change a shared object from one value to another over a specified duration.
 
template<typename T >
auto seq::change_to (T &object, const std::decay_t< T > &end, const duration_t &duration, const sentinel_t &sentinel, const ease_t &ease_func=ease::linear) -> seq_action
 Creates an action to change an object to a specified value over a specified duration.
 
template<typename T >
auto seq::change_to (const std::shared_ptr< T > &object, const std::decay_t< T > &end, const duration_t &duration, const ease_t &ease_func=ease::linear) -> seq_action
 Creates an action to change a shared object to a specified value over a specified duration.
 
template<typename T >
auto seq::change_by (T &object, const std::decay_t< T > &amount, const duration_t &duration, const sentinel_t &sentinel, const ease_t &ease_func=ease::linear) -> seq_action
 Creates an action to change an object by a specified amount over a specified duration.
 
template<typename T >
auto seq::change_by (const std::shared_ptr< T > &object, const std::decay_t< T > &amount, const duration_t &duration, const ease_t &ease_func=ease::linear) -> seq_action
 Creates an action to change a shared object by a specified amount over a specified duration.
 
auto seq::sequence (const std::vector< seq_action > &actions, const sentinel_t &sentinel=hpp::eternal_sentinel()) -> seq_action
 Creates a sequential action that executes a list of actions one after another.
 
auto seq::sequence_precise (const std::vector< seq_action > &actions, const sentinel_t &sentinel=hpp::eternal_sentinel()) -> seq_action
 Creates a precise sequential action that executes a list of actions with exact timing.
 
template<typename... Args>
auto seq::sequence (const seq_action &t1, const seq_action &t2, Args &&... actions) -> seq_action
 Creates a sequential action with two or more actions.
 
template<typename... Args>
auto seq::sequence_precise (const seq_action &t1, const seq_action &t2, Args &&... actions) -> seq_action
 Creates a precise sequential action with two or more actions.
 
auto seq::together (const std::vector< seq_action > &actions, const sentinel_t &sentinel=hpp::eternal_sentinel()) -> seq_action
 Creates a simultaneous action that executes a list of actions together.
 
template<typename... Args>
auto seq::together (const seq_action &t1, const seq_action &t2, Args &&... actions) -> seq_action
 Creates a simultaneous action with two or more actions.
 
auto seq::delay (const duration_t &duration, const sentinel_t &sentinel=hpp::eternal_sentinel()) -> seq_action
 Creates a delay action.
 
auto seq::repeat (const seq_action &action, size_t times=0) -> seq_action
 Repeats an action a specified number of times.
 
auto seq::repeat (const seq_action &action, const sentinel_t &sentinel, size_t times=0) -> seq_action
 Repeats an action a specified number of times with a sentinel.
 
auto seq::repeat_precise (const seq_action &action, size_t times=0) -> seq_action
 Precisely repeats an action a specified number of times.
 
auto seq::repeat_precise (const seq_action &action, const sentinel_t &sentinel, size_t times=0) -> seq_action
 Precisely repeats an action a specified number of times with a sentinel.