Table of Contents

Class ShadowBatch

Namespace
WoWLib.Formats.WMO.Group.Chunks
Assembly
WoWLib.dll

One MOBS shadow batch (Cata+): the shadow-pass counterpart of a MOBA render batch.

public class ShadowBatch : IDisposable
Inheritance
ShadowBatch
Implements
Inherited Members

Constructors

ShadowBatch()

public ShadowBatch()

ShadowBatch(ShadowBatch)

Copy-construct: a deep copy of other (the C++ copy constructor).

public ShadowBatch(ShadowBatch other)

Parameters

other ShadowBatch

Properties

Count

Count value; divided by 3 on use (a face count).

public short Count { get; set; }

Property Value

short

Flags

Batch flags; 0x2: use material_id_large.

public byte Flags { get; set; }

Property Value

byte

MaterialId

Index into MOMT (when it fits 8 bits).

public byte MaterialId { get; set; }

Property Value

byte

MaterialIdLarge

16-bit material id; used when flags has 0x2.

public ushort MaterialIdLarge { get; set; }

Property Value

ushort

Start

Start value; divided by 3 on use (a face index).

public int Start { get; set; }

Property Value

int

Methods

Dispose()

Release the native object now. Optional: the finalizer releases it on collection anyway - dispose (or using) when you want native memory back promptly.

public virtual void Dispose()