public override void WrtieBodyToStream(CTextWriter writer)
        {
            base.WrtieBodyToStream(writer);

            writer.WriteString("bone", bone);
            writer.WriteVec3("pos", pos);
            writer.WriteQuat("rot", rot);
        }
Example #2
0
 public override void WrtieBodyToStream(CTextWriter writer)
 {
     base.WrtieBodyToStream(writer);
     if (!string.IsNullOrEmpty(parent))
         writer.WriteString("parent", parent);
     writer.WriteVec3("pos", pos);
     writer.WriteQuat("rot", rot);
 }
Example #3
0
 public override void WrtieBodyToStream(CTextWriter writer)
 {
     writer.WriteString("classname", classname);
     writer.WriteVec3("origin", origin);
     foreach (var val in values)
     {
         writer.WriteString(val.Key, val.Value);
     }
 }
Example #4
0
 public override void WrtieBodyToStream(CTextWriter writer)
 {
     base.WrtieBodyToStream(writer);
     writer.WriteVec3("mins", mins);
     writer.WriteVec3("maxs", maxs);
 }