MCPcopy Create free account
hub / github.com/ThatOpen/engine_web-ifc / SetWasmPath

Method SetWasmPath

src/ts/web-ifc-api.ts:1488–1491  ·  view source on GitHub ↗

* Sets the path to the wasm file * @param path path to the wasm file * @param absolute if true, path is absolute, otherwise it is relative to executing script

(path: string, absolute = false)

Source from the content-addressed store, hash-verified

1486 * @param absolute if true, path is absolute, otherwise it is relative to executing script
1487 */
1488 SetWasmPath(path: string, absolute = false) {
1489 this.wasmPath = path;
1490 this.isWasmPathAbsolute = absolute;
1491 }
1492
1493 /**
1494 * Sets the log level

Callers 2

WithIFCFileLoadedFunction · 0.95
web-ifc-viewer.tsFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected