|
qxLib
|
qx::base_easing_element queue More...
#include <easing_sequence.h>
Public Member Functions | |
| void | push_back (easing_element_type element) noexcept |
| Add easing element to queue. More... | |
| template<class... args_t> | |
| void | emplace_back (args_t &&... args) noexcept |
| Add easing element to queue by constructing in-place. More... | |
| void | clear () noexcept |
| Clear elements queue. | |
| void | start () noexcept |
| Start easing element sequence playing. | |
| void | pause () noexcept |
| Pause easing element sequence playing. | |
| void | resume () noexcept |
| Resume easing element sequence playing. | |
| void | skip () noexcept |
| Skip current element. | |
| void | reset () noexcept |
| Reset sequence. | |
| void | update (T fDeltaTime) noexcept |
| Update easing element sequence. More... | |
| void | set_looped (bool bLooped) noexcept |
| Set loop state. More... | |
| void | set_speed (T fSpeed) noexcept |
| Set updating speed value. More... | |
| T | get () const noexcept |
| Get value of current sequence element. More... | |
| T | get_fraction () const noexcept |
| Get a fraction indicating how much of the sequence has played. More... | |
| T | get_speed () const noexcept |
| Get updating speed value. More... | |
| bool | is_not_started () const noexcept |
| Is sequence not started. More... | |
| bool | is_started () const noexcept |
| Is sequence started. More... | |
| bool | is_paused () const noexcept |
| Is sequence paused. More... | |
| bool | is_finished () const noexcept |
| Is sequence finished. More... | |
| bool | is_looped () const noexcept |
| Is sequence looped. More... | |
qx::base_easing_element queue
| T | - floating point ish value |
Definition at line 29 of file easing_sequence.h.
|
inlinenoexcept |
Add easing element to queue by constructing in-place.
| args_t | - template parameter pack type |
| args | - arguments for constructing |
Definition at line 22 of file easing_sequence.inl.
|
inlinenoexcept |
Get value of current sequence element.
Definition at line 116 of file easing_sequence.inl.
|
inlinenoexcept |
Get a fraction indicating how much of the sequence has played.
Definition at line 133 of file easing_sequence.inl.
|
inlinenoexcept |
|
inlinenoexcept |
Is sequence finished.
Definition at line 199 of file easing_sequence.inl.
|
inlinenoexcept |
Is sequence looped.
Definition at line 216 of file easing_sequence.inl.
|
inlinenoexcept |
Is sequence not started.
Definition at line 156 of file easing_sequence.inl.
|
inlinenoexcept |
Is sequence paused.
Definition at line 190 of file easing_sequence.inl.
|
inlinenoexcept |
Is sequence started.
Definition at line 173 of file easing_sequence.inl.
|
inlinenoexcept |
Add easing element to queue.
| element | - easing element |
Definition at line 14 of file easing_sequence.inl.
|
inlinenoexcept |
Set loop state.
| bLooped | - true if loop |
Definition at line 104 of file easing_sequence.inl.
|
inlinenoexcept |
Set updating speed value.
| fSpeed | - speed |
Definition at line 110 of file easing_sequence.inl.
|
inlinenoexcept |
Update easing element sequence.
| fDeltaTime | - delta time |
Definition at line 78 of file easing_sequence.inl.