Exemplo n.º 1
0
 public ParaGroup()
 {
     Dimensions        = new Dimensions();
     ExampleList       = new ExampleList();
     Blendable         = new Blendable();
     MotionCombination = new MotionCombination();
 }
Exemplo n.º 2
0
 public void ReadXml(XmlReader reader)
 {
     //Create dimensions and read from file
     while (reader.Read())
     {
         if (reader.NodeType == XmlNodeType.Element)
         {
             if (reader.LocalName == "Dimensions")
             {
                 Dimensions = new Dimensions();
                 Dimensions.ReadXml(reader);
             }
             if (reader.LocalName == "ExampleList")
             {
                 ExampleList = new ExampleList();
                 ExampleList.ReadXml(reader);
             }
             if (reader.LocalName == "Blendable")
             {
                 Blendable = new Blendable();
                 Blendable.ReadXml(reader);
             }
             if (reader.LocalName == "MotionCombination")
             {
                 MotionCombination = new MotionCombination();
                 MotionCombination.ReadXml(reader);
             }
             //other node types
         }
     }
 }
Exemplo n.º 3
0
 public void WriteXml(XmlWriter writer)
 {
     //Write the child nodes
     //Serialize dimensions
     Dimensions.WriteXml(writer);
     ExampleList.WriteXml(writer);
     Blendable.WriteXml(writer);
     MotionCombination.WriteXml(writer);
 }