Exemplo n.º 1
0
 public void Read(GrnBoneNode boneNode)
 {
     this.ParentIndex = boneNode.ParentIndex;
     this.Position    = boneNode.Position;
     this.Rotation    = boneNode.Rotation;
     this.Scale       = boneNode.Scale;
 }
Exemplo n.º 2
0
        public void Write(GrnNode boneSecNode)
        {
            GrnBoneNode boneNode = new GrnBoneNode(boneSecNode);

            boneNode.ParentIndex = this.ParentIndex;
            boneNode.Position    = this.Position;
            boneNode.Rotation    = this.Rotation;
            boneNode.Scale       = this.Scale;
            boneSecNode.AppendChild(boneNode);
        }