C# Class Warcraft.ADT.Chunks.Subchunks.TextureLayerEntry

Texture layer entry, representing a ground texture in the chunk.
Show file Open project: Nihlus/libwarcraft Class Usage Examples

Public Properties

Property Type Description
AlphaMapOffset uint
EffectID Warcraft.DBC.SpecialFields.UInt16ForeignKey
Flags TextureLayerFlags
TextureID uint
Unused ushort

Public Methods

Method Description
GetSize ( ) : int

Gets the size of a texture layer entry.

TextureLayerEntry ( byte data ) : System

Method Details

GetSize() public static method

Gets the size of a texture layer entry.
public static GetSize ( ) : int
return int

TextureLayerEntry() public method

public TextureLayerEntry ( byte data ) : System
data byte
return System

Property Details

AlphaMapOffset public property

Offset into MCAL where the alpha map begins.
public uint AlphaMapOffset
return uint

EffectID public property

Ground effect ID. This is a foreign key entry into GroundEffectTexture::ID.
public UInt16ForeignKey,Warcraft.DBC.SpecialFields EffectID
return Warcraft.DBC.SpecialFields.UInt16ForeignKey

Flags public property

Flags for the texture. Used for animation data.
public TextureLayerFlags Flags
return TextureLayerFlags

TextureID public property

Index of the texture in the MTEX chunk
public uint TextureID
return uint

Unused public property

A currently unused value.
public ushort Unused
return ushort