UNPKG

@needle-tools/materialx

Version:

Web runtime support to load and display MaterialX materials in Needle Engine and three.js via the MaterialX WebAssembly library. glTF files containing the `NEEDLE_materials_mtlx` extension can be loaded with this package. There is also experimental suppor

20 lines (15 loc) 369 B
/** * Get URL parameter value */ export function getParam(name: string): boolean | string; export const debug: boolean | string; export const debugUpdate: boolean; /** * Get current time in seconds */ export function getTime(): number; /** * Get current frame number */ export function getFrame(): number; export function waitForNetworkIdle(): Promise<void>;