class MorphTransition: public Transition
Implements a morphing transition for morph elements. The morph transition morphs the initial morph object’s shape to the desired result shape.
Inherits from Transition.
| MorphTransition | Implements a morphing transition for morph elements. |
| Functions | |
| MorphTransition | Initializes the object. |
| ~MorphTransition | Releases all allocated resources. |
| Update | Updates the transition by executing one morphing step. |
| Complete | Checks if the transition is completed. |
MorphTransition( MorphElement * pInitialMorphElement, MorphElement * pResultMorphElement, int iTotalSteps )
Initializes the object.
| pInitialMorphElement | Pointer to the morph element to be morphed. |
| pResultMorphElement | Pointer to the morph element whose shape shall be the result of the morphing process. |
| iTotalSteps | Duration of the transition in steps. |
void Update()
Updates the transition by executing one morphing 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 morphing transition for morph elements.
class MorphTransition: public Transition
Initializes the object.
MorphTransition( MorphElement * pInitialMorphElement, MorphElement * pResultMorphElement, int iTotalSteps )
Releases all allocated resources.
~MorphTransition()
Updates the transition by executing one morphing step.
void Update()
Checks if the transition is completed.
bool Complete()
Abstract class that implements the skeleton of a transition.
class Transition