BlendTransition

class BlendTransition: public Transition

Implements a alpha blending transition that fades an alterable object in or out.

Inherits from Transition.

Summary
BlendTransitionImplements a alpha blending transition that fades an alterable object in or out.
Functions
BlendTransitionInitializes the object.
~BlendTransitionReleases all allocated resources.
UpdateUpdates the transition by executing one blending step.
CompleteChecks if the transition is completed.

Functions

BlendTransition

BlendTransition(AlterableObject *pAlterableObject,  
float fAlpha,  
int iTotalSteps =  BLEND_STEPS)

Initializes the object.

Parameters

pAlterableObjectPointer to the alterable object to be altered.
fAlphaChange of alpha value.
iTotalStepsDuration of the transition in steps.  Default value is BLEND_STEPS.

~BlendTransition

~BlendTransition()

Releases all allocated resources.

Update

void Update()

Updates the transition by executing one blending step.  Inherited from Transition.

Complete

bool Complete()

Checks if the transition is completed.  Inherited from Transition.

Returns

A boolean value indicating if the transition is completed.

class BlendTransition: public Transition
Implements a alpha blending transition that fades an alterable object in or out.
BlendTransition(AlterableObject *pAlterableObject,  
float fAlpha,  
int iTotalSteps =  BLEND_STEPS)
Initializes the object.
~BlendTransition()
Releases all allocated resources.
void Update()
Updates the transition by executing one blending step.
bool Complete()
Checks if the transition is completed.
class Transition
Abstract class that implements the skeleton of a transition.
Amount of steps for the color blend transition.
Close