Private
Optional
_storageReadonly
exporterReadonly
importerReadonly
materialsState of download/upload/process/other processes in the viewer. Subscribes to importer and exporter by default, more can be added by plugins like FileTransferPlugin
Optional
progress?: numberReadonly
viewerStatic
Readonly
Pluginnot a plugin anymore
Protected
_addProtected
_addPrivate
_initPrivate
_sceneProtected
_setupProtected
_setupOptional
assetOrPath: string | File | File[] | IAsset | IAsset[]Optional
options: ImportAddOptionsOptional
asset: string | File | IAssetOptional
options: ImportAssetOptionsuse addAsset instead
use addRaw instead
same as loadImported
Optional
options: AddAssetOptionsOptional
resources: anyuse ThreeViewer.fromJSON instead
use ThreeViewer.exportPluginConfig instead
Optional
filter: string[]use ThreeViewer.exportPluginsConfig instead
if set to false, encodes all the array buffers to base64
use ThreeViewer.exportConfig instead
Optional
extraResources: anypreloaded resources in the format of viewer config resources.
moved to ThreeViewer.loadConfigResources
Optional
plugin: IViewerPlugin<ThreeViewer, boolean>use ThreeViewer.importPluginConfig instead
use ThreeViewer.importConfig instead
Generated using TypeDoc
Asset Manager
Utility class to manage import, export, and material management.