import {GLTFDefaultDataSource} from '@xeokit/xeokit-sdk/src/plugins/GLTFLoaderPlugin/GLTFDefaultDataSource.js'GLTFDefaultDataSource
Default data access strategy for GLTFLoaderPlugin.
This just loads assets using XMLHttpRequest.
Constructor Summary
| Public Constructor | ||
| public |  | |
Method Summary
| Public Methods | ||
| public | Gets glTF binary attachment. | |
| public | Gets glTF JSON. | |
| public | getMetaModel(metaModelSrc: String | Number, ok: *, error: *) Gets metamodel JSON. | |
Public Constructors
public constructor() source
Public Methods
public getArrayBuffer(glTFSrc: String | Number, binarySrc: String | Number, ok: Function, error: Function) source
Gets glTF binary attachment.
Note that this method requires the source of the glTF JSON asset. This is because the binary attachment source could be relative to the glTF source, IE. it may not be a global ID.
 Reference
  Source
  
  Reference
  Source
  
   
    
  