public void WriteTo(Stream stream) { Name.WriteTo(stream); Id.WriteTo(stream); BinaryWriter writer = new BinaryWriter(stream); writer.Write(Matrix); writer.Write(AlwaysZero1); ParentId.WriteTo(stream); MeshId.WriteTo(stream); writer.Write(AlwaysZero2); writer.Write(Unknown3); writer.Write(Unknown4); writer.Write(Unknown5); writer.Write(Unknown6); writer.Write(AlwaysZero7); writer.Write(Unknown8); writer.Write(AlwaysZero9); writer.Write(Unknown10); writer.Write(AlwaysZero11); writer.Write(Unknown12); foreach (odfFrame childFrame in children) { childFrame.WriteTo(stream); } }