Database

Hierarchy

  • Database

Index

Constructors

constructor

  • new Database(urlToScene: string, callbackManifestChecked: function): Database
  • Parameters

    • urlToScene: string
    • callbackManifestChecked: function
        • (checked: boolean): any
        • Parameters

          • checked: boolean

          Returns any

    Returns Database

Properties

enableSceneOffline

enableSceneOffline: boolean

enableTexturesOffline

enableTexturesOffline: boolean

Static IDBStorageEnabled

IDBStorageEnabled: boolean

Static IsUASupportingBlobStorage

IsUASupportingBlobStorage: boolean

Static ReturnFullUrlLocation

ReturnFullUrlLocation: function

Type declaration

    • (url: string): string
    • Parameters

      • url: string

      Returns string

Static parseURL

parseURL: function

Type declaration

    • (url: string): string
    • Parameters

      • url: string

      Returns string

Methods

checkManifestFile

  • checkManifestFile(): void
  • Returns void

loadFileFromDB

  • loadFileFromDB(url: string, sceneLoaded: function, progressCallBack?: function, errorCallback?: function, useArrayBuffer?: boolean): void
  • Parameters

    • url: string
    • sceneLoaded: function
        • (data: any): void
        • Parameters

          • data: any

          Returns void

    • Optional progressCallBack: function
        • (data: any): void
        • Parameters

          • data: any

          Returns void

    • Optional errorCallback: function
        • (): void
        • Returns void

    • Optional useArrayBuffer: boolean

    Returns void

loadImageFromDB

  • loadImageFromDB(url: string, image: HTMLImageElement): void
  • Parameters

    • url: string
    • image: HTMLImageElement

    Returns void

openAsync

  • openAsync(successCallback: function, errorCallback: function): void
  • Parameters

    • successCallback: function
        • (): void
        • Returns void

    • errorCallback: function
        • (): void
        • Returns void

    Returns void

Generated using TypeDoc