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

gbgraphics::TrackData Class Reference

Data for animation Track. More...

#include <track.h>

List of all members.

Public Methods

 TrackData (unsigned int ID=0, float wfactor=1.f, float tfactor=1.f, float attack=0.f, float decay=0.f, float delay=0.f, float decayStart=-1.f)
 Constructor.


Public Attributes

float mAttack
 Time to ramp up to mWeightFactor.

float mDecay
 Time to ramp down mWeightFactor to 0.

float mDelayStart
 Time before animation starts.

float mDecayStart
 Time when animation ends.

float mWeightFactor
 Maximum weight during steady state.

float mTimeFactor
 Adjusts the speed of the animation.

unsigned int mID
 Track id.


Detailed Description

Data for animation Track.


Constructor & Destructor Documentation

TrackData::TrackData unsigned int    ID = 0,
float    wfactor = 1.f,
float    tfactor = 1.f,
float    attack = 0.f,
float    decay = 0.f,
float    delay = 0.f,
float    decayStart = -1.f
 

Constructor.

Parameters:
ID  Identifier Hashed animation name.
wfactor  Maxiumum weight during steady state.
tfactor  Time factor affects rate of animation.
attack  Time to ramp up to max. weight.
decay  Time to ramp down to weight 0.
delay  Time before attack begins.
decayStart  Time before decay begins.


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