Class LodMapObjDef
A low-resolution WMO placement (an MLMD record, Legion+): an SMMapObjDef without the extents — those live in the parallel MLMX record. name_id is always a FileDataID here (the WDL has no name table).
public class LodMapObjDef : IDisposable
- Inheritance
-
LodMapObjDef
- Implements
- Inherited Members
Constructors
LodMapObjDef()
public LodMapObjDef()
LodMapObjDef(uint, uint, C3Vector, C3Vector, MapObjDefFlags, ushort, ushort, ushort)
public LodMapObjDef(uint nameId, uint uniqueId, C3Vector position, C3Vector rotation, MapObjDefFlags flags, ushort doodadSet, ushort nameSet, ushort scale)
Parameters
nameIduintuniqueIduintpositionC3VectorrotationC3VectorflagsMapObjDefFlagsdoodadSetushortnameSetushortscaleushort
LodMapObjDef(LodMapObjDef)
Copy-construct: a deep copy of other (the C++ copy constructor).
public LodMapObjDef(LodMapObjDef other)
Parameters
otherLodMapObjDef
Properties
DoodadSet
The WMO doodad set shown by this instance.
public ushort DoodadSet { get; set; }
Property Value
Flags
Flags; MapObjDefFlags bits.
public MapObjDefFlags Flags { get; set; }
Property Value
NameId
The WMO FileDataID.
public uint NameId { get; set; }
Property Value
NameSet
The WMO name set.
public ushort NameSet { get; set; }
Property Value
Position
Position, in the map's placement coordinate system.
public C3Vector Position { get; set; }
Property Value
Rotation
Rotation as Euler angles, degrees.
public C3Vector Rotation { get; set; }
Property Value
Scale
Scale, 1024 = 1.0.
public ushort Scale { get; set; }
Property Value
UniqueId
Unique instance id across the whole map; matches the full-resolution ADT placement.
public uint UniqueId { 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 virtual void Dispose()