Table of Contents

Class M2AttachmentVanillaToTbc

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

An attachment point (weapons, effects, name plates), relative to a bone.

public class M2AttachmentVanillaToTbc : M2Attachment, IDisposable
Inheritance
M2AttachmentVanillaToTbc
Implements
Inherited Members

Constructors

M2AttachmentVanillaToTbc()

public M2AttachmentVanillaToTbc()

M2AttachmentVanillaToTbc(M2AttachmentVanillaToTbc)

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

public M2AttachmentVanillaToTbc(M2AttachmentVanillaToTbc other)

Parameters

other M2AttachmentVanillaToTbc

Properties

AnimateAttached

Bool track: animate the attached model.

public M2TrackUInt8VanillaToTbc AnimateAttached { get; set; }

Property Value

M2TrackUInt8VanillaToTbc

Bone

The bone the point follows.

public ushort Bone { get; set; }

Property Value

ushort

Id

Attachment slot (see wowdev's attachment id table).

public uint Id { get; set; }

Property Value

uint

Position

Relative to the bone, typically its pivot.

public C3Vector Position { get; set; }

Property Value

C3Vector

Unknown

Unknown; almost always 0 (vanilla's BogBeast.m2 carries values here).

public ushort Unknown { get; set; }

Property Value

ushort

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

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

Parameters

l M2AttachmentVanillaToTbc
r M2AttachmentVanillaToTbc

Returns

bool

operator !=(M2AttachmentVanillaToTbc?, M2AttachmentVanillaToTbc?)

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

Parameters

l M2AttachmentVanillaToTbc
r M2AttachmentVanillaToTbc

Returns

bool