Static
Readonly
ViewerStatic
ExportStatic
ImportImport viewer config from glTF(exported from GLTFViewerConfigExtension.ExportViewerConfig) and sets in scene.importedViewerConfig Must be called from afterRoot in gltf loader. Used in GLTFLoader2.setup Only imports, does not apply.
Optional
scene: anyStatic
Private
_bundleStatic
Private
_bundlePrivate
Find the resources that are in the viewer config AND in writer.json and use the ones in writer and remove from viewer Config. For now (for the lack of a better way) we can let the resources be exported twice and removed from resources. Overhead will be just for some images.
Static
Private
_parseStatic
Private
_parsePrivate
Find resources in parser from uuid
Optional
materials?: Record<string, any>Optional
textures?: Record<string, any>Generated using TypeDoc
Export viewer config to glTF(can be imported by GLTFViewerConfigExtension.ImportViewerConfig). Used in GLTFExporter2