示例#1
0
 internal BoneTemplate(int id, string name, BoneTemplate <TBoneAttributes> parent, TBoneAttributes attributes)
 {
     this.name       = name;
     this.parent     = parent;
     this.attributes = attributes;
     this.id         = id;
 }
示例#2
0
 public Bone(
     Bone <TBoneParameters, TKeyframeParameters, TBoneAttributes, TBoneTransformation> parent,
     BoneTemplate <TBoneAttributes> template
     )
 {
     this.parent   = parent;
     this.template = template;
     this.transformation.SetBone(this);
 }