Exemple #1
0
 public FlverBone GetPreviousSibling() => ContainingFlver?.GetBoneFromIndex(PreviousSiblingIndex, true);
Exemple #2
0
 public FlverBone GetNextSibling() => ContainingFlver?.GetBoneFromIndex(NextSiblingIndex, true);
Exemple #3
0
 public FlverBone GetParent() => ContainingFlver?.GetBoneFromIndex(ParentIndex, true);
Exemple #4
0
 public FlverBone GetFirstChild() => ContainingFlver?.GetBoneFromIndex(FirstChildIndex, true);
Exemple #5
0
        //public Vector3 Row4 { get; set; } = new Vector3(0, 0, 0);
        //public short Row4_ID1 { get; set; } = 0;
        //public short Row4_ID2 { get; set; } = 0;

        public override string ToString()
        {
            return(ContainingFlver.GetBoneFromIndex(ParentBoneIndex, true)?.Name ?? $"Invalid Bone Index: {ParentBoneIndex}");
        }