#include <AnimTexPlane.H>
Inherits InSpace::DrawObj.
Public Member Functions | |
AnimTexPlane (str_ptr texNameList, double frameTimeInterval, int blendTransitions) | |
virtual | ~AnimTexPlane () |
void | preFrame () |
Color | color () |
void | setColor (Color c) |
void | draw () |
Protected Member Functions | |
void | loadTextures (char *filelist) |
Protected Attributes | |
ARRAY< str_ptr > | _textures |
double | _frameTimeInterval |
double | _lastFrameTime |
int | _curFrame |
int | _nextFrame |
double | _alpha |
Color | _color |
int | _blendTransitions |
double | _shininess |
Color | _diffuse |
Color | _specular |
Color | _emission |
Color | _ambient |
|
|
|
|
|
|
|
This is the most important function to implement in your subclass. Use GL calls inside this to draw something. This object's xform() has already been pushed onto the MODELVIEW stack when this gets called. If using inspace with G3D, use drawG3D() as a replacement for this function. Reimplemented from InSpace::DrawObj. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|