public static Offset <BabylonFileFlatbuffer> CreateBabylonFileFlatbuffer(FlatBufferBuilder builder,
                                                                          VectorOffset materialsOffset      = default(VectorOffset),
                                                                          VectorOffset multiMaterialsOffset = default(VectorOffset),
                                                                          VectorOffset meshesOffset         = default(VectorOffset))
 {
     builder.StartObject(3);
     BabylonFileFlatbuffer.AddMeshes(builder, meshesOffset);
     BabylonFileFlatbuffer.AddMultiMaterials(builder, multiMaterialsOffset);
     BabylonFileFlatbuffer.AddMaterials(builder, materialsOffset);
     return(BabylonFileFlatbuffer.EndBabylonFileFlatbuffer(builder));
 }
 public static BabylonFileFlatbuffer GetRootAsBabylonFileFlatbuffer(ByteBuffer _bb, BabylonFileFlatbuffer obj)
 {
     return(obj.__assign(_bb.GetInt(_bb.Position) + _bb.Position, _bb));
 }