OptionalcacheOptions: AssetManagerOptionsReadonlyexporterReadonlyimporterReadonlymaterialsState of download/upload/process/other processes in the viewer. Subscribes to importer and exporter by default, more can be added by plugins like FileTransferPlugin
ReadonlyviewerStatic ReadonlyPluginProtected_Protected_Protected_Protected_Protected_Protected_Protected_OptionalassetOrPath: string | IAsset | File | IAsset[] | File[]Optionaloptions: ImportAddOptionsOptionalasset: string | IAsset | FileOptionaloptions: ImportAssetOptionssame as loadImported
Optionaloptions: AddAssetOptionsOptionalresources: anyuse ThreeViewer.fromJSON instead
use ThreeViewer.exportPluginConfig instead
Optionalfilter: string[]use ThreeViewer.exportPluginsConfig instead
if set to false, encodes all the array buffers to base64
use ThreeViewer.exportConfig instead
OptionalextraResources: anypreloaded resources in the format of viewer config resources.
moved to ThreeViewer.loadConfigResources
Optionalplugin: IViewerPlugin<ThreeViewer, boolean>use ThreeViewer.importPluginConfig instead
use ThreeViewer.importConfig instead
Set process state for a path Progress should be a number between 0 and 100 Pass undefined in value to remove the state
Asset Manager
Utility class to manage import, export, and material management.