Fades in the alpha value of a solid color. More...
#include <Game/TransitionEffect.h>
Inherits TransitionIn.
Public Member Functions | |
| AlphaFadeInTransition () | |
| Constructor. | |
| AlphaFadeInTransition (float time) | |
| Constructor. | |
| void | SetColor (const Color4f &c) |
| Sets the transition color. | |
Protected Member Functions | |
| virtual void | OnDraw (float t, const Rectf &r) |
| Internal draw method. | |
Fades in the alpha value of a solid color.
| AlphaFadeInTransition::AlphaFadeInTransition | ( | float | time | ) | [inline] |
Constructor.
| [in] | time | the transition time. |
| void AlphaFadeInTransition::OnDraw | ( | float | t, | |
| const Rectf & | r | |||
| ) | [protected, virtual] |
Internal draw method.
| [in] | t | the completion percentage in the range [0,1]. |
| [in] | r | the area to cover. |
Implements Transition.
1.6.3