Table of Contents

Class M2AttachmentWotlkPlus

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

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

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

Constructors

M2AttachmentWotlkPlus()

public M2AttachmentWotlkPlus()

M2AttachmentWotlkPlus(M2AttachmentWotlkPlus)

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

public M2AttachmentWotlkPlus(M2AttachmentWotlkPlus other)

Parameters

other M2AttachmentWotlkPlus

Properties

AnimateAttached

Bool track: animate the attached model.

public M2TrackUInt8WotlkPlus AnimateAttached { get; set; }

Property Value

M2TrackUInt8WotlkPlus

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

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

Parameters

l M2AttachmentWotlkPlus
r M2AttachmentWotlkPlus

Returns

bool

operator !=(M2AttachmentWotlkPlus?, M2AttachmentWotlkPlus?)

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

Parameters

l M2AttachmentWotlkPlus
r M2AttachmentWotlkPlus

Returns

bool