Table of Contents

Class MapPointLightLegacy

Namespace
WoWLib.Formats.WDT.Lights.Chunks
Assembly
WoWLib.dll

One WoD point light (MPLT); Legion clients stop reading these in favor of MPL2.

public class MapPointLightLegacy : IDisposable
Inheritance
MapPointLightLegacy
Implements
Inherited Members

Constructors

MapPointLightLegacy()

public MapPointLightLegacy()

MapPointLightLegacy(uint, ushort, ushort, CArgb, C3Vector, float[])

public MapPointLightLegacy(uint id, ushort tileX, ushort tileY, CArgb color, C3Vector position, float[] unknown)

Parameters

id uint
tileX ushort
tileY ushort
color CArgb
position C3Vector
unknown float[]

MapPointLightLegacy(MapPointLightLegacy)

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

public MapPointLightLegacy(MapPointLightLegacy other)

Parameters

other MapPointLightLegacy

Properties

Color

Light color.

public CArgb Color { get; set; }

Property Value

CArgb

Id

Unique light id within the WDT.

public uint Id { get; set; }

Property Value

uint

Position

Light position.

public C3Vector Position { get; set; }

Property Value

C3Vector

TileX

The ADT tile x coordinate.

public ushort TileX { get; set; }

Property Value

ushort

TileY

The ADT tile y coordinate.

public ushort TileY { get; set; }

Property Value

ushort

Unknown

Intensity and related parameters; exact meaning undocumented.

public FixedArray<float> Unknown { get; set; }

Property Value

FixedArray<float>

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()