Bitbybit Docs
    Preparing search index...

    Class ExportSceneGlbBytesDto (Inputs.BabylonIO)

    Feeds babylon.io.exportGLBBytes with the nodes to write, whether to leave out the skybox and ground this library adds, and whether to compress the meshes with Draco.

    Index

    Constructors

    • Parameters

      • Optionalnodes: Node[]
      • OptionaldiscardSkyboxAndGrid: boolean
      • OptionalcompressWithDraco: boolean

      Returns ExportSceneGlbBytesDto

    Properties

    nodes?: Node[]

    The 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

    true

    discardSkyboxAndGrid?: boolean

    When true, the skybox and ground meshes this library adds are left out of the file

    false
    

    true

    compressWithDraco?: boolean

    When true, the mesh geometry is compressed with Draco, which makes the file smaller and slower to open

    false
    

    true