@polygonjs/polygonjs
Version:
node-based WebGL 3D engine https://polygonjs.com
13 lines (12 loc) • 473 B
TypeScript
import { PresetRegister } from './BasePreset';
import { BaseNodeType } from '../../src/engine/nodes/_Base';
declare class PresetLibraryClass {
static _instance: PresetLibraryClass | undefined;
private _presetsByContextAndType;
private constructor();
private _registerPreset;
preset(node: BaseNodeType): PresetRegister<any, any> | undefined;
static instance(): PresetLibraryClass;
}
export declare const PresetLibrary: PresetLibraryClass;
export {};