WoW Model Viewer
Your premiere tool for viewing, equipping and animating World of Warcraft models.
Loading...
Searching...
No Matches
ModelTransparency Struct Reference

Animated transparency value for an M2 model texture layer. More...

#include <ModelTransparency.h>

Collaboration diagram for ModelTransparency:
[legend]

Public Member Functions

void init (GameFile *f, ModelTransDef &mtd, std::vector< uint32 > &global)
 Initialise from an M2 transparency definition block.
 

Public Attributes

AnimatedShort trans
 Transparency animation track (0 = transparent, 0x7FFF = opaque).
 

Detailed Description

Animated transparency value for an M2 model texture layer.

Definition at line 9 of file ModelTransparency.h.

Member Function Documentation

◆ init()

void ModelTransparency::init ( GameFile f,
ModelTransDef mtd,
std::vector< uint32 > &  global 
)

Initialise from an M2 transparency definition block.

Definition at line 3 of file ModelTransparency.cpp.

Here is the call graph for this function:

Member Data Documentation

◆ trans

AnimatedShort ModelTransparency::trans

Transparency animation track (0 = transparent, 0x7FFF = opaque).

Definition at line 11 of file ModelTransparency.h.


The documentation for this struct was generated from the following files: