Bitbybit Docs
    Preparing search index...

    Class AssetFileDto (Inputs.Asset)

    A model file to load into the scene, as the renderer packages' io.loadAssetIntoScene takes it, and whether it starts hidden; the file's extension decides the loader.

    Index

    Constructors

    Properties

    Constructors

    • Parameters

      • OptionalassetFile: File
      • Optionalhidden: boolean

      Returns AssetFileDto

    Properties

    assetFile: File

    The model file to load, such as a glTF or glb; its name gives the format

    undefined
    
    hidden: boolean

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

    false