Table of Contents

Class PointLightAnim

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

One MOP2 entry (8.1+): an animated point light with flicker and light-cookie texture data.

public class PointLightAnim : IDisposable
Inheritance
PointLightAnim
Implements
Inherited Members

Constructors

PointLightAnim()

public PointLightAnim()

PointLightAnim(PointLightAnim)

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

public PointLightAnim(PointLightAnim other)

Parameters

other PointLightAnim

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

FlickerIntensity

Flickering intensity.

public float FlickerIntensity { get; set; }

Property Value

float

FlickerMode

0 = off, 1 = sine curve, 2 = noise curve, 3 = noise step.

public int FlickerMode { get; set; }

Property Value

int

FlickerSpeed

Flickering speed.

public float FlickerSpeed { get; set; }

Property Value

float

Intensity

Intensity.

public float Intensity { get; set; }

Property Value

float

LightIndex

Index of the light this animation belongs to.

public uint LightIndex { get; set; }

Property Value

uint

LightTextureFdid

FileDataID of the light cookie texture.

public uint LightTextureFdid { get; set; }

Property Value

uint

Position

Position of the light.

public C3Vector Position { get; set; }

Property Value

C3Vector

Rotation

Euler rotation in radians.

public C3Vector Rotation { get; set; }

Property Value

C3Vector

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