Antkeeper
0.0.1
|
Encapsulates a shader-based animated screen transition. More...
#include <screen-transition.hpp>
Public Member Functions | |
screen_transition () | |
void | set_visible (bool visible) |
void | transition (float duration, bool reverse, animation< float >::interpolator_type interpolator, bool hide=true, const std::function< void()> &callback=nullptr) |
scene::billboard * | get_billboard () |
std::shared_ptr< render::material > | get_material () |
::animation< float > * | get_animation () |
Encapsulates a shader-based animated screen transition.
Definition at line 31 of file screen-transition.hpp.
screen_transition::screen_transition | ( | ) |
Definition at line 24 of file screen-transition.cpp.
|
inline |
Definition at line 63 of file screen-transition.hpp.
|
inline |
Definition at line 53 of file screen-transition.hpp.
|
inline |
Definition at line 58 of file screen-transition.hpp.
void screen_transition::set_visible | ( | bool | visible | ) |
Definition at line 71 of file screen-transition.cpp.
void screen_transition::transition | ( | float | duration, |
bool | reverse, | ||
animation< float >::interpolator_type | interpolator, | ||
bool | hide = true , |
||
const std::function< void()> & | callback = nullptr |
||
) |
Definition at line 76 of file screen-transition.cpp.