Table of Contents

Class M2TextureWeightWotlkPlus

Namespace
WoWLib.Formats.M2.Root.Record
Assembly
WoWLib.dll

A global texture weight (transparency) track.

public class M2TextureWeightWotlkPlus : M2TextureWeight, IDisposable
Inheritance
M2TextureWeightWotlkPlus
Implements
Inherited Members

Constructors

M2TextureWeightWotlkPlus()

public M2TextureWeightWotlkPlus()

M2TextureWeightWotlkPlus(M2TextureWeightWotlkPlus)

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

public M2TextureWeightWotlkPlus(M2TextureWeightWotlkPlus other)

Parameters

other M2TextureWeightWotlkPlus

Properties

Weight

0 transparent .. 0x7FFF opaque; multiplies the color block's alpha.

public M2TrackFixed16WotlkPlus Weight { get; set; }

Property Value

M2TrackFixed16WotlkPlus

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 override void Dispose()

Operators

operator ==(M2TextureWeightWotlkPlus?, M2TextureWeightWotlkPlus?)

public static bool operator ==(M2TextureWeightWotlkPlus? l, M2TextureWeightWotlkPlus? r)

Parameters

l M2TextureWeightWotlkPlus
r M2TextureWeightWotlkPlus

Returns

bool

operator !=(M2TextureWeightWotlkPlus?, M2TextureWeightWotlkPlus?)

public static bool operator !=(M2TextureWeightWotlkPlus? l, M2TextureWeightWotlkPlus? r)

Parameters

l M2TextureWeightWotlkPlus
r M2TextureWeightWotlkPlus

Returns

bool