Пример #1
0
        public LimbDataBone(Joint startJoint, Joint endJoint)
        {
            this.StartJoint = startJoint;
            this.EndJoint   = endJoint;

            JointTypePair = GetJointTypePair();

            BoneHash = Utils.GetBoneHash(JointTypePair.A, JointTypePair.B);
        }
 public BoneConfiguration(JointTypePair jointTypePair, float startOffset, float endOffset, int startWidth,
                          int endWidth, Color color)
 {
     JointTypePair = jointTypePair;
     StartOffset   = startOffset;
     EndOffset     = endOffset;
     StartWidth    = startWidth;
     EndWidth      = endWidth;
     Color         = color;
 }