Class M2AttachmentVanillaToTbc
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
otherM2AttachmentVanillaToTbc
Properties
AnimateAttached
Bool track: animate the attached model.
public M2TrackUInt8VanillaToTbc AnimateAttached { get; set; }
Property Value
Bone
The bone the point follows.
public ushort Bone { get; set; }
Property Value
Id
Attachment slot (see wowdev's attachment id table).
public uint Id { get; set; }
Property Value
Position
Relative to the bone, typically its pivot.
public C3Vector Position { get; set; }
Property Value
Unknown
Unknown; almost always 0 (vanilla's BogBeast.m2 carries values here).
public ushort Unknown { get; set; }
Property Value
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
Returns
operator !=(M2AttachmentVanillaToTbc?, M2AttachmentVanillaToTbc?)
public static bool operator !=(M2AttachmentVanillaToTbc? l, M2AttachmentVanillaToTbc? r)