20 #ifndef ANTKEEPER_SCREEN_TRANSITION_HPP
21 #define ANTKEEPER_SCREEN_TRANSITION_HPP
46 std::shared_ptr<render::material> material;
47 std::shared_ptr<render::matvar_float> progress;
50 std::function<void()> callback;
Single channel in a keyframe animation.
2D unit quad with a single material.
Encapsulates a shader-based animated screen transition.
::animation< float > * get_animation()
std::shared_ptr< render::material > get_material()
void transition(float duration, bool reverse, animation< float >::interpolator_type interpolator, bool hide=true, const std::function< void()> &callback=nullptr)
void set_visible(bool visible)
scene::billboard * get_billboard()