Esempio n. 1
0
 public void WriteXml(StringBuilder sb, int indent)
 {
     YpdbXml.StringTag(sb, indent, "ClipSet", YpdbXml.HashString(ClipSet));
     YpdbXml.StringTag(sb, indent, "Clip", YpdbXml.HashString(Clip));
     YpdbXml.ValueTag(sb, indent, "Offset", FloatUtil.ToString(Offset));
     PointCloud?.WriteXml(sb, indent);
 }
Esempio n. 2
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);
 }
Esempio n. 3
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");
 }
Esempio n. 4
0
 public void WriteXml(StringBuilder sb, int indent)
 {
     YpdbXml.WriteRawArray(sb, Weights, indent, "Weights", "", FloatUtil.ToString);
 }