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

Texture layer entry, representing a ground texture in the chunk.
显示文件 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_oe property

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

EffectID public_oe 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_oe property

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

TextureID public_oe property

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

Unused public_oe property

A currently unused value.
public ushort Unused
return ushort