Bitbybit Docs
    Preparing search index...

    Class AssetGlbDataDto (Inputs.Asset)

    A glb model held as bytes to load into the scene, as the renderer packages' io.loadGlbFromArrayBuffer takes it, for instance the output of the STEP to glTF converters.

    Index

    Constructors

    Properties

    Constructors

    • Parameters

      • OptionalglbData: Uint8Array
      • OptionalfileName: string
      • Optionalhidden: boolean

      Returns AssetGlbDataDto

    Properties

    glbData: Uint8Array

    The whole glb file as bytes, such as what occt.io.convertStepToGltf gives back

    undefined
    
    fileName: string

    Name given to the loaded model, used to tell it apart from others; it does not have to match a real file

    model.glb
    
    hidden: boolean

    When true, the loaded model is added to the scene invisible, to be shown later

    false