Public Types | Public Member Functions | Protected Attributes

BetaGUI::Effect Class Reference

Inheritance diagram for BetaGUI::Effect:
BetaGUI::ActivateEffect BetaGUI::AlphaEffect BetaGUI::MoveEffect BetaGUI::OverEffect BetaGUI::SizeEffect

List of all members.

Public Types

enum  EffectInterpolatorType { EFFECT_LINEAR = 0, EFFECT_LINEARX2, EFFECT_LINEARX4, EFFECT_SIN }

Public Member Functions

 Effect (Widget *const widget, const Ogre::Real duration, const Ogre::Real startTime, const Ogre::Real currTime=0, const bool repeat=false, EffectInterpolatorType type=EFFECT_LINEARX4)
virtual void updateValue (const Ogre::Real factor)=0
bool update (Ogre::Real timeElapsed)
Ogre::Real getTimeFactor ()
bool getTimeOrIsFinished ()
Ogre::Real linearInterpolate (const Ogre::Real start, const Ogre::Real end, const Ogre::Real timeFactor) const
Ogre::Real interpolate (const Ogre::Real start, const Ogre::Real end, const Ogre::Real timeFactor) const

Protected Attributes

Widget *const mWidget
const Ogre::Real mStartTime
const Ogre::Real mDuration
const bool mRepeat
Ogre::Real mCurrTime
const EffectInterpolatorType mType

The documentation for this class was generated from the following files:
All Classes Namespaces Functions