Skip to main content

@novorender/web_app / downloadCore3dImports

Function: downloadCore3dImports()

function downloadCore3dImports(map): Promise<Core3DImports>

Download any missing imports.

Parameters

ParameterTypeDescription
mapCore3DImportMapURLs or bundled asset map.

Returns

Promise<Core3DImports>

Remarks

This function will attempt to download any resource not inlined from the specified urls, using the specified baseUrl. If map is undefined, it will look for the files in the same folder as the current script.

Defined in

@novorender/core3d/imports/index.ts:99