C# Class TerrainDisplay.MPQ.WMO.Components.Material

MOMT
Show file Open project: WCell/WCell-Terrain Class Usage Examples

Public Properties

Property Type Description
BlendMode int
DiffColor Color4
Flags MaterialFlags
Float_1 float
Float_2 float
FrameSidnColor Color4
GroundType int
Int_1 uint
Int_2 int
Int_3 int
Int_4 int
SidnColor Color4
TextureNameEnd int
TextureNameStart int

Property Details

BlendMode public property

0x8 Blending: 0 for opaque, 1 for transparent
public int BlendMode
return int

DiffColor public property

0x1C
public Color4 DiffColor
return Color4

Flags public property

0x0
public MaterialFlags Flags
return MaterialFlags

Float_1 public property

0x24
public float Float_1
return float

Float_2 public property

0x28
public float Float_2
return float

FrameSidnColor public property

0x14
public Color4 FrameSidnColor
return Color4

GroundType public property

0x20 TerrainType.dbc NOTE: check this!
public int GroundType
return int

Int_1 public property

0x4 Flags2? havent ever seen it nonzero
public uint Int_1
return uint

Int_2 public property

0x2C
public int Int_2
return int

Int_3 public property

0x30
public int Int_3
return int

Int_4 public property

0x34
public int Int_4
return int

SidnColor public property

0x10
public Color4 SidnColor
return Color4

TextureNameEnd public property

0x18 old: envNameIndex
public int TextureNameEnd
return int

TextureNameStart public property

0xC old: diffuseNameIndex
public int TextureNameStart
return int