WoW Model Viewer
Your premiere tool for viewing, equipping and animating World of Warcraft models.
Loading...
Searching...
No Matches
ModelTransparency.h
Go to the documentation of this file.
1
#pragma once
2
3
#include "
animated.h
"
4
#include "
modelheaders.h
"
5
6
class
GameFile
;
7
9
struct
ModelTransparency
10
{
11
AnimatedShort
trans
;
12
14
void
init
(
GameFile
* f,
ModelTransDef
& mtd, std::vector<uint32>& global);
15
};
animated.h
Animated< float, short, ShortToFloat >
GameFile
Abstract base class representing a file within the game data archive.
Definition
GameFile.h:12
modelheaders.h
ModelTransDef
Definition
modelheaders.h:423
ModelTransparency
Animated transparency value for an M2 model texture layer.
Definition
ModelTransparency.h:10
ModelTransparency::trans
AnimatedShort trans
Transparency animation track (0 = transparent, 0x7FFF = opaque).
Definition
ModelTransparency.h:11
ModelTransparency::init
void init(GameFile *f, ModelTransDef &mtd, std::vector< uint32 > &global)
Initialise from an M2 transparency definition block.
Definition
ModelTransparency.cpp:3
Source
WoW
Model
ModelTransparency.h
Generated by
1.9.8