Table of Contents

Class PointLight

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

One MOLP point light (Legion+).

public class PointLight : IDisposable
Inheritance
PointLight
Implements
Inherited Members

Constructors

PointLight()

public PointLight()

PointLight(uint, CImVector, C3Vector, float, float, float, float, uint, uint)

public PointLight(uint unknown1, CImVector color, C3Vector position, float intensity, float attenStart, float attenEnd, float unknown2, uint unknown3, uint unknown4)

Parameters

unknown1 uint
color CImVector
position C3Vector
intensity float
attenStart float
attenEnd float
unknown2 float
unknown3 uint
unknown4 uint

PointLight(PointLight)

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

public PointLight(PointLight other)

Parameters

other PointLight

Properties

AttenEnd

Attenuation end distance.

public float AttenEnd { get; set; }

Property Value

float

AttenStart

Attenuation start distance.

public float AttenStart { get; set; }

Property Value

float

Color

Light color.

public CImVector Color { get; set; }

Property Value

CImVector

Intensity

Intensity.

public float Intensity { get; set; }

Property Value

float

Position

Position of the light.

public C3Vector Position { get; set; }

Property Value

C3Vector

Unknown1

Unknown; preserved for round-trip.

public uint Unknown1 { get; set; }

Property Value

uint

Unknown2

Unknown; only zeros observed.

public float Unknown2 { get; set; }

Property Value

float

Unknown3

Unknown; preserved for round-trip.

public uint Unknown3 { get; set; }

Property Value

uint

Unknown4

Unknown; possibly a color.

public uint Unknown4 { 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 virtual void Dispose()