Main Page   Modules   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

gbgraphics::TrackOverlay Class Reference

Track for overlay animations. More...

#include <trackoverlay.h>

Inheritance diagram for gbgraphics::TrackOverlay:

gbgraphics::Track List of all members.

Public Types

enum  {
  DELAY, ATTACK, STEADY, DECAY,
  END
}
 Animation states. More...


Public Methods

 TrackOverlay (SkeletalMotionState *pSMState, const TrackData &data)
 .

void Update (float dTime)
 Animate the track.

void Decay ()
 Begin stop process.

float GetWeight () const
 Get weight of track.

Initializers
Accessors
virtual float GetProgress ()
 Fraction into animation.

virtual float GetLength () const
 .

unsigned int GetID () const
 .

SkeletalMotionStateGetMotionState () const
 .

int GetState () const
 Returns one of the animation states.

float GetTime () const
 Amount of time track has been animating.

float GetTimeFactor () const
 .


Protected Attributes

TrackData mData
 .

int mState
 State of the animation.

float mDecayTime
 Calculated time of decay from mData.mDecay.

float mWTime
 The weight time: affects change in weight.

SkeletalMotionStatempSMState
 Motion being animated.


Detailed Description

Track for overlay animations.


Member Enumeration Documentation

anonymous enum [inherited]
 

Animation states.

Enumeration values:
DELAY  Waiting to attack.
ATTACK  Ramping up to full weight.
STEADY  Weight at maximum.
DECAY  Ramping down to 0.
END  Done animating.


The documentation for this class was generated from the following files:
Generated on Mon Sep 2 14:52:33 2002 for GunBuster Engine by doxygen1.2.17