public void Read(GrnBoneNode boneNode) { this.ParentIndex = boneNode.ParentIndex; this.Position = boneNode.Position; this.Rotation = boneNode.Rotation; this.Scale = boneNode.Scale; }
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); }