|
WoW Model Viewer
Your premiere tool for viewing, equipping and animating World of Warcraft models.
|
Animated vertex colour and opacity used by M2 render passes. More...
#include <ModelColor.h>
Public Member Functions | |
| void | init (GameFile *f, ModelColorDef &mcd, std::vector< uint32 > &global) |
| Initialise from an M2 colour definition block. | |
Public Attributes | |
| Animated< glm::vec3 > | color |
| RGB colour animation track. | |
| AnimatedShort | opacity |
| Opacity animation track (0 = transparent, 0x7FFF = opaque). | |
Animated vertex colour and opacity used by M2 render passes.
Definition at line 18 of file ModelColor.h.
| void ModelColor::init | ( | GameFile * | f, |
| ModelColorDef & | mcd, | ||
| std::vector< uint32 > & | global | ||
| ) |
Initialise from an M2 colour definition block.
Definition at line 4 of file ModelColor.cpp.
| Animated<glm::vec3> ModelColor::color |
RGB colour animation track.
Definition at line 20 of file ModelColor.h.
| AnimatedShort ModelColor::opacity |
Opacity animation track (0 = transparent, 0x7FFF = opaque).
Definition at line 21 of file ModelColor.h.