Description
class Database
Constructor
new Database(urlToScene, callbackManifestChecked)
Parameters
|
Name |
Type |
Description |
|
urlToScene |
string |
|
|
callbackManifestChecked |
|
checked |
boolean |
|
Members
static IsUASupportingBlobStorage : boolean
static IDBStorageEnabled : boolean
enableSceneOffline : boolean
enableTexturesOffline : boolean
static parseURL : (url: string) => string
Parameters
|
Name |
Type |
Description |
|
url |
string |
|
static ReturnFullUrlLocation : (url: string) => string
Parameters
|
Name |
Type |
Description |
|
url |
string |
|
Methods
checkManifestFile() → void
openAsync(successCallback, errorCallback) → void
Parameters
|
Name |
Type |
Description |
|
successCallback |
|
|
|
errorCallback |
|
|
loadImageFromDB(url, image) → void
Parameters
|
Name |
Type |
Description |
|
url |
string |
|
|
image |
HTMLImageElement |
|
loadFileFromDB(url, sceneLoaded, progressCallBack, errorCallback, useArrayBuffer) → void
Parameters
|
Name |
Type |
Description |
|
url |
string |
|
|
sceneLoaded |
|
data |
any |
|
|
optional | progressCallBack | | data | any |
optional | errorCallback | |