Table of Contents

Class M2ColorVanillaToTbc

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

A vertex color + alpha animation pair, referenced from skin batches by color index.

public class M2ColorVanillaToTbc : M2Color, IDisposable
Inheritance
M2ColorVanillaToTbc
Implements
Inherited Members

Constructors

M2ColorVanillaToTbc()

public M2ColorVanillaToTbc()

M2ColorVanillaToTbc(M2ColorVanillaToTbc)

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

public M2ColorVanillaToTbc(M2ColorVanillaToTbc other)

Parameters

other M2ColorVanillaToTbc

Properties

Alpha

0 transparent .. 0x7FFF opaque.

public M2TrackFixed16VanillaToTbc Alpha { get; set; }

Property Value

M2TrackFixed16VanillaToTbc

Color

RGB vertex color.

public M2TrackC3VectorVanillaToTbc Color { get; set; }

Property Value

M2TrackC3VectorVanillaToTbc

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

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

Parameters

l M2ColorVanillaToTbc
r M2ColorVanillaToTbc

Returns

bool

operator !=(M2ColorVanillaToTbc?, M2ColorVanillaToTbc?)

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

Parameters

l M2ColorVanillaToTbc
r M2ColorVanillaToTbc

Returns

bool