Class M2CompBoneVanilla
A bone, vanilla layout: raw-quaternion rotations, no name CRC.
public class M2CompBoneVanilla : M2CompBone, IDisposable
- Inheritance
-
M2CompBoneVanilla
- Implements
- Inherited Members
Constructors
M2CompBoneVanilla()
public M2CompBoneVanilla()
M2CompBoneVanilla(M2CompBoneVanilla)
Copy-construct: a deep copy of other (the C++ copy constructor).
public M2CompBoneVanilla(M2CompBoneVanilla other)
Parameters
otherM2CompBoneVanilla
Properties
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 raw quaternions.
public M2TrackC4QuaternionVanillaToTbc 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 ==(M2CompBoneVanilla?, M2CompBoneVanilla?)
public static bool operator ==(M2CompBoneVanilla? l, M2CompBoneVanilla? r)
Parameters
Returns
operator !=(M2CompBoneVanilla?, M2CompBoneVanilla?)
public static bool operator !=(M2CompBoneVanilla? l, M2CompBoneVanilla? r)