Bitbybit Docs
    Preparing search index...

    Class AssetFileByUrlDto (Inputs.Asset)

    A model file to load into the scene by address, as the renderer packages' io.loadAssetIntoSceneFromRootUrl takes it: the folder URL, the file name inside it and whether it starts hidden.

    Index

    Constructors

    Properties

    Constructors

    • Parameters

      • OptionalassetFile: string
      • OptionalrootUrl: string
      • Optionalhidden: boolean

      Returns AssetFileByUrlDto

    Properties

    assetFile: string

    Name of the model file inside rootUrl, extension included

    undefined
    
    rootUrl: string

    Address of the folder the file is in, ending with a slash; textures next to the model are resolved from it too

    undefined
    
    hidden: boolean

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

    false