Table of Contents

Class SmoFog.FogBand

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

One fog band: end distance, start scalar and color.

public class SmoFog.FogBand : IDisposable
Inheritance
SmoFog.FogBand
Implements
Inherited Members

Constructors

FogBand()

public FogBand()

FogBand(float, float, CImVector)

public FogBand(float end, float startScalar, CImVector color)

Parameters

end float
startScalar float
color CImVector

FogBand(FogBand)

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

public FogBand(SmoFog.FogBand other)

Parameters

other SmoFog.FogBand

Properties

Color

Fog color.

public CImVector Color { get; set; }

Property Value

CImVector

End

Distance at which visibility ceases.

public float End { get; set; }

Property Value

float

StartScalar

Start = end * start_scalar (0..1).

public float StartScalar { get; set; }

Property Value

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