Table of Contents

Class SmoFog

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

One MFOG entry: a fog volume with regular and under-water settings.

public class SmoFog : IDisposable
Inheritance
SmoFog
Implements
Inherited Members

Constructors

SmoFog()

public SmoFog()

SmoFog(uint, C3Vector, float, float, FogBand, FogBand)

public SmoFog(uint flags, C3Vector position, float smallerRadius, float largerRadius, SmoFog.FogBand fog, SmoFog.FogBand underWaterFog)

Parameters

flags uint
position C3Vector
smallerRadius float
largerRadius float
fog SmoFog.FogBand
underWaterFog SmoFog.FogBand

SmoFog(SmoFog)

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

public SmoFog(SmoFog other)

Parameters

other SmoFog

Properties

Flags

0x1: infinite radius (interior/exterior blend fog).

public uint Flags { get; set; }

Property Value

uint

Fog

The regular fog band.

public SmoFog.FogBand Fog { get; set; }

Property Value

SmoFog.FogBand

LargerRadius

Outer radius (fog starts).

public float LargerRadius { get; set; }

Property Value

float

Position

Fog volume center.

public C3Vector Position { get; set; }

Property Value

C3Vector

SmallerRadius

Inner radius (full fog).

public float SmallerRadius { get; set; }

Property Value

float

UnderWaterFog

The under-water fog band.

public SmoFog.FogBand UnderWaterFog { get; set; }

Property Value

SmoFog.FogBand

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