Table of Contents

Class LightAnimation

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

One light texture animation (MLTA), referenced by mlta_index.

public class LightAnimation : IDisposable
Inheritance
LightAnimation
Implements
Inherited Members

Constructors

LightAnimation()

public LightAnimation()

LightAnimation(float, float, int)

public LightAnimation(float amplitude, float frequency, int function)

Parameters

amplitude float
frequency float
function int

LightAnimation(LightAnimation)

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

public LightAnimation(LightAnimation other)

Parameters

other LightAnimation

Properties

Amplitude

Animation amplitude.

public float Amplitude { get; set; }

Property Value

float

Frequency

Animation frequency.

public float Frequency { get; set; }

Property Value

float

Function

Curve function: 0 off, 1 sine, 2 noise, 3 noise step.

public int Function { get; set; }

Property Value

int

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