/// <summary> /// Initializes a new instance of the <see cref="Bone"/> struct. /// </summary> /// <param name="boneType">Type of the bone.</param> /// <param name="startJoint">The start joint.</param> /// <param name="endJoint">The end joint.</param> public Bone(BoneTypeEx boneType, IJoint startJoint, IJoint endJoint) { _boneType = boneType; _startJoint = startJoint; _endJoint = endJoint; }