Class WMOBatchLegionPlus
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
otherWMOBatchLegionPlus
Properties
Count
Number of MOVI indices.
public ushort Count { get; set; }
Property Value
Flags
Batch flags; 0x2: use material_id_large.
public byte Flags { get; set; }
Property Value
MaterialId
Index into MOMT (when it fits 8 bits).
public byte MaterialId { get; set; }
Property Value
MaterialIdLarge
16-bit material id; used when flags has 0x2.
public ushort MaterialIdLarge { get; set; }
Property Value
MaxIndex
Last vertex used, inclusive.
public ushort MaxIndex { get; set; }
Property Value
MinIndex
First vertex used in MOVT.
public ushort MinIndex { get; set; }
Property Value
StartIndex
First face index in MOVI.
public uint StartIndex { get; set; }
Property Value
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()