Generic animated value class that reads keyframe data from M2 files.
Abstract base class representing a file within the game data archive.
Animated vertex colour and opacity used by M2 render passes.
void init(GameFile *f, ModelColorDef &mcd, std::vector< uint32 > &global)
Initialise from an M2 colour definition block.
AnimatedShort opacity
Opacity animation track (0 = transparent, 0x7FFF = opaque).
Animated< glm::vec3 > color
RGB colour animation track.