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

    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
    
    compressWithDraco?: boolean

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

    false
    

    The unit the scene is modelled in. Given, the file is in metres, glTF's unit, through one scaled root node; left out, the numbers are written as they are.

    undefined
    

    true