public override void Write(EndianBinaryWriter er)
 {
     base.Write(er);
     er.WriteVector3(CenterPosition);
     er.WriteVector3(Size);
 }
 public override void Write(EndianBinaryWriter er)
 {
     base.Write(er);
     er.WriteVector3(CenterPosition);
     er.Write(OrientationMatrix, 0, 3 * 3);
     er.WriteVector3(Size);
 }