Example #1
0
 public void WriteXml(StringBuilder sb, int indent)
 {
     YpdbXml.SelfClosingTag(sb, indent, "BoundsMin " + FloatUtil.GetVector3XmlString(BoundsMin));
     YpdbXml.SelfClosingTag(sb, indent, "BoundsMax " + FloatUtil.GetVector3XmlString(BoundsMax));
     YpdbXml.WriteRawArray(sb, Points, indent, "Points", "", YpdbXml.FormatVector3, 1);
     YpdbXml.WriteRawArray(sb, Weights, indent, "Weights", "", FloatUtil.ToString);
 }
Example #2
0
 public void WriteXml(StringBuilder sb, int indent)
 {
     //YpdbXml.ValueTag(sb, indent, "SerializerVersion", SerializerVersion.ToString());
     //YpdbXml.ValueTag(sb, indent, "PoseMatcherVersion", PoseMatcherVersion.ToString());
     YpdbXml.ValueTag(sb, indent, "Signature", Signature.ToString());
     //YpdbXml.ValueTag(sb, indent, "Unk7", FloatUtil.ToString(Unk7));
     //YpdbXml.ValueTag(sb, indent, "Unk8", Unk8.ToString());
     YpdbXml.WriteRawArray(sb, BoneTags, indent, "BoneTags", "");
     WeightSet?.WriteXml(sb, indent);
     YpdbXml.WriteItemArray(sb, Samples, indent, "Samples");
 }
Example #3
0
 public void WriteXml(StringBuilder sb, int indent)
 {
     YpdbXml.WriteRawArray(sb, Weights, indent, "Weights", "", FloatUtil.ToString);
 }