class BlendTransition: public Transition
Implements a alpha blending transition that fades an alterable object in or out.
Inherits from Transition.
| BlendTransition | Implements a alpha blending transition that fades an alterable object in or out. |
| Functions | |
| BlendTransition | Initializes the object. |
| ~BlendTransition | Releases all allocated resources. |
| Update | Updates the transition by executing one blending step. |
| Complete | Checks if the transition is completed. |
BlendTransition( AlterableObject * pAlterableObject, float fAlpha, int iTotalSteps = BLEND_STEPS )
Initializes the object.
| pAlterableObject | Pointer to the alterable object to be altered. |
| fAlpha | Change of alpha value. |
| iTotalSteps | Duration of the transition in steps. Default value is BLEND_STEPS. |
void Update()
Updates the transition by executing one blending step. Inherited from Transition.
bool Complete()
Checks if the transition is completed. Inherited from Transition.
A boolean value indicating if the transition is completed.
Implements a alpha blending transition that fades an alterable object in or out.
class BlendTransition: public Transition
Initializes the object.
BlendTransition( AlterableObject * pAlterableObject, float fAlpha, int iTotalSteps = BLEND_STEPS )
Releases all allocated resources.
~BlendTransition()
Updates the transition by executing one blending step.
void Update()
Checks if the transition is completed.
bool Complete()
Abstract class that implements the skeleton of a transition.
class Transition