Table of Contents

Class AmbientBoxVolume

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

One MBVD entry (8.3+): a box-shaped ambient volume bounded by six planes. Only read when MAVG or MAVD is present.

public class AmbientBoxVolume : IDisposable
Inheritance
AmbientBoxVolume
Implements
Inherited Members

Constructors

AmbientBoxVolume()

public AmbientBoxVolume()

AmbientBoxVolume(AmbientBoxVolume)

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

public AmbientBoxVolume(AmbientBoxVolume other)

Parameters

other AmbientBoxVolume

Properties

Color1

Primary ambient color.

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 distance.

public float End { get; set; }

Property Value

float

Flags

0x1: blend color_2 and color_3.

public uint Flags { get; set; }

Property Value

uint

Planes

The six bounding planes (position and start combined).

public FixedArray<C4Plane> Planes { get; set; }

Property Value

FixedArray<C4Plane>

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