Antkeeper  0.0.1
Public Member Functions | List of all members
screen_transition Class Reference

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::billboardget_billboard ()
 
std::shared_ptr< render::materialget_material ()
 
::animation< float > * get_animation ()
 

Detailed Description

Encapsulates a shader-based animated screen transition.

Definition at line 31 of file screen-transition.hpp.

Constructor & Destructor Documentation

◆ screen_transition()

screen_transition::screen_transition ( )

Definition at line 24 of file screen-transition.cpp.

Member Function Documentation

◆ get_animation()

animation< float > * screen_transition::get_animation ( )
inline

Definition at line 63 of file screen-transition.hpp.

◆ get_billboard()

scene::billboard * screen_transition::get_billboard ( )
inline

Definition at line 53 of file screen-transition.hpp.

◆ get_material()

std::shared_ptr< render::material > screen_transition::get_material ( )
inline

Definition at line 58 of file screen-transition.hpp.

◆ set_visible()

void screen_transition::set_visible ( bool  visible)

Definition at line 71 of file screen-transition.cpp.

◆ transition()

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.


The documentation for this class was generated from the following files: