Optionalnodes: Node[]OptionaldiscardSkyboxAndGrid: booleanOptionalcompressWithDraco: booleanOptionalnodesThe nodes to write; every ancestor of a chosen node is written too so it keeps its place, and when omitted the whole scene is written
OptionaldiscardWhen true, the skybox and ground meshes this library adds are left out of the file
OptionalcompressWhen true, the mesh geometry is compressed with Draco, which makes the file smaller and slower to open
Feeds
babylon.io.exportGLBByteswith the nodes to write, whether to leave out the skybox and ground this library adds, and whether to compress the meshes with Draco.