Skip to main content

DynamicLoader

@3dverse/livelink v0.8.10


@3dverse/livelink / DynamicLoader

Class: DynamicLoader

Defined in: node_modules/@3dverse/livelink.core/dist/sources/DynamicLoader.d.ts:23

Dynamically loads the Livelink core library.

DynamicLoader.load must be called before accessing DynamicLoader.Core.

Usage

await DynamicLoader.load();
const core = new DynamicLoader.Core();

Accessors

Core

Get Signature

get static Core(): typeof LivelinkCore

Defined in: node_modules/@3dverse/livelink.core/dist/sources/DynamicLoader.d.ts:28

Returns the core.

Returns

typeof LivelinkCore

Methods

load()

static load(target?): Promise<void>

Defined in: node_modules/@3dverse/livelink.core/dist/sources/DynamicLoader.d.ts:40

Dynamically loads the Livelink core library.

Must be called before accessing DynamicLoader.Core. Only one target can be loaded at a time.

Parameters

target?

BuildTarget

The target build to load.

  • "prod": Contains no debug information.
  • "dev": Contains some debug information.
  • "debug": Contains extra debug information.

Returns

Promise<void>