public static Transformation ReadTransformation(TWXmlNode node)
        {
            Transformation transformation = new Transformation();

            transformation.Scaling     = XMLSerializer.ReadVector3(node.FindChildNode("Scaling"));
            transformation.Rotation    = XMLSerializer.ReadQuaternion(node.FindChildNode("Rotation"));
            transformation.Translation = XMLSerializer.ReadVector3(node.FindChildNode("Translation"));


            return(transformation);
        }
 public static void WriteTransformation(TWXmlNode node, Transformation transformation)
 {
     XMLSerializer.WriteVector3(node.CreateChildNode("Scaling"), transformation.Scaling);
     XMLSerializer.WriteQuaternion(node.CreateChildNode("Rotation"), transformation.Rotation);
     XMLSerializer.WriteVector3(node.CreateChildNode("Translation"), transformation.Translation);
 }