Table of Contents

Class WMOBatchLegionPlus

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

One MOBA render batch: an index range sharing one material (Legion+ layout with the 16-bit material id).

public class WMOBatchLegionPlus : WMOBatch, IDisposable
Inheritance
WMOBatchLegionPlus
Implements
Inherited Members

Constructors

WMOBatchLegionPlus()

public WMOBatchLegionPlus()

WMOBatchLegionPlus(WMOBatchLegionPlus)

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

public WMOBatchLegionPlus(WMOBatchLegionPlus other)

Parameters

other WMOBatchLegionPlus

Properties

Count

Number of MOVI indices.

public ushort Count { get; set; }

Property Value

ushort

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

MaxIndex

Last vertex used, inclusive.

public ushort MaxIndex { get; set; }

Property Value

ushort

MinIndex

First vertex used in MOVT.

public ushort MinIndex { get; set; }

Property Value

ushort

StartIndex

First face index in MOVI.

public uint StartIndex { get; set; }

Property Value

uint

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 override void Dispose()