Table of Contents

Class AmbientVolume

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

One ambient volume (MAVD, 8.3+) - a spherical region overriding the root ambient color - or a global ambient entry (MAVG), which shares the layout with position/start/end zeroed.

public class AmbientVolume : IDisposable
Inheritance
AmbientVolume
Implements
Inherited Members

Constructors

AmbientVolume()

public AmbientVolume()

AmbientVolume(AmbientVolume)

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

public AmbientVolume(AmbientVolume other)

Parameters

other AmbientVolume

Properties

Color1

Primary ambient color; overrides the MOHD ambient.

public CImVector Color1 { get; set; }

Property Value

CImVector

Color2

Secondary ambient color.

public CImVector Color2 { get; set; }

Property Value

CImVector

Color3

Tertiary ambient color.

public CImVector Color3 { get; set; }

Property Value

CImVector

DoodadSetId

The doodad set this volume applies to.

public ushort DoodadSetId { get; set; }

Property Value

ushort

End

Outer radius (zero in MAVG).

public float End { get; set; }

Property Value

float

Flags

0x1: blend color_1 and color_3.

public uint Flags { get; set; }

Property Value

uint

Position

Volume center (zero in MAVG).

public C3Vector Position { get; set; }

Property Value

C3Vector

Start

Inner radius (zero in MAVG).

public float Start { 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()