Class M2CompBoneTbc
A bone (TBC+): compressed-quaternion rotations plus the debug name CRC; the track era inside follows the entity version.
public class M2CompBoneTbc : M2CompBone, IDisposable
- Inheritance
-
M2CompBoneTbc
- Implements
- Inherited Members
Constructors
M2CompBoneTbc()
public M2CompBoneTbc()
M2CompBoneTbc(M2CompBoneTbc)
Copy-construct: a deep copy of other (the C++ copy constructor).
public M2CompBoneTbc(M2CompBoneTbc other)
Parameters
otherM2CompBoneTbc
Properties
BoneNameCrc
CRC of the authoring bone name (debug only).
public uint BoneNameCrc { get; set; }
Property Value
Flags
See BoneFlags.
public BoneFlags Flags { get; set; }
Property Value
KeyBoneId
Key-bone-lookup back reference, -1 if none.
public int KeyBoneId { get; set; }
Property Value
ParentBone
Parent bone index, -1 for roots.
public short ParentBone { get; set; }
Property Value
Pivot
The bone's pivot point.
public C3Vector Pivot { get; set; }
Property Value
Rotation
Rotation keyframes as compressed quaternions.
public M2TrackCompQuatVanillaToTbc Rotation { get; set; }
Property Value
Scale
Scale keyframes.
public M2TrackC3VectorVanillaToTbc Scale { get; set; }
Property Value
SubmeshId
Mesh part id.
public ushort SubmeshId { get; set; }
Property Value
Translation
Translation keyframes, relative to the parent bone.
public M2TrackC3VectorVanillaToTbc Translation { 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 ==(M2CompBoneTbc?, M2CompBoneTbc?)
public static bool operator ==(M2CompBoneTbc? l, M2CompBoneTbc? r)
Parameters
Returns
operator !=(M2CompBoneTbc?, M2CompBoneTbc?)
public static bool operator !=(M2CompBoneTbc? l, M2CompBoneTbc? r)