public SoftwareBone(RMX_ArmatureBone bone)
 {
     Name = bone.Name;
     InheritScale = bone.InheritScale;
     InheritRotation = bone.InheritRotation;
     Position = new Vector3(bone.Position.Values[0], bone.Position.Values[1], bone.Position.Values[2]);
     Rotation = new Matrix3
     (
         new Vector3(bone.Rotation.Values[0], bone.Rotation.Values[1], bone.Rotation.Values[2]),
         new Vector3(bone.Rotation.Values[3], bone.Rotation.Values[4], bone.Rotation.Values[5]),
         new Vector3(bone.Rotation.Values[6], bone.Rotation.Values[7], bone.Rotation.Values[8])
     );
 }
 public SoftwareBone(RMX_ArmatureBone bone)
 {
     Name            = bone.Name;
     InheritScale    = bone.InheritScale;
     InheritRotation = bone.InheritRotation;
     Position        = new Vector3(bone.Position.Values[0], bone.Position.Values[1], bone.Position.Values[2]);
     Rotation        = new Matrix3
                       (
         new Vector3(bone.Rotation.Values[0], bone.Rotation.Values[1], bone.Rotation.Values[2]),
         new Vector3(bone.Rotation.Values[3], bone.Rotation.Values[4], bone.Rotation.Values[5]),
         new Vector3(bone.Rotation.Values[6], bone.Rotation.Values[7], bone.Rotation.Values[8])
                       );
 }
 internal void linkObjects(RMX_ArmatureBone bone, List<SoftwareBone> bones)
 {
     if (!string.IsNullOrEmpty(bone.Parent))
     {
         foreach (var parent in bones)
         {
             if (bone.Parent == parent.Name)
             {
                 Parent = parent;
                 break;
             }
         }
         if (Parent == null) Debug.ThrowError("SoftwareObject", "Failed to find Parent: " + bone.Parent);
     }
 }
 internal void linkObjects(RMX_ArmatureBone bone, List <SoftwareBone> bones)
 {
     if (!string.IsNullOrEmpty(bone.Parent))
     {
         foreach (var parent in bones)
         {
             if (bone.Parent == parent.Name)
             {
                 Parent = parent;
                 break;
             }
         }
         if (Parent == null)
         {
             Debug.ThrowError("SoftwareObject", "Failed to find Parent: " + bone.Parent);
         }
     }
 }