Table of Contents

Class M2TextureWeightVanillaToTbc

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

A global texture weight (transparency) track.

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

Constructors

M2TextureWeightVanillaToTbc()

public M2TextureWeightVanillaToTbc()

M2TextureWeightVanillaToTbc(M2TextureWeightVanillaToTbc)

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

public M2TextureWeightVanillaToTbc(M2TextureWeightVanillaToTbc other)

Parameters

other M2TextureWeightVanillaToTbc

Properties

Weight

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

public M2TrackFixed16VanillaToTbc Weight { get; set; }

Property Value

M2TrackFixed16VanillaToTbc

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 ==(M2TextureWeightVanillaToTbc?, M2TextureWeightVanillaToTbc?)

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

Parameters

l M2TextureWeightVanillaToTbc
r M2TextureWeightVanillaToTbc

Returns

bool

operator !=(M2TextureWeightVanillaToTbc?, M2TextureWeightVanillaToTbc?)

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

Parameters

l M2TextureWeightVanillaToTbc
r M2TextureWeightVanillaToTbc

Returns

bool