UNPKG

@polygonjs/polygonjs

Version:

node-based WebGL 3D engine https://polygonjs.com

25 lines (24 loc) 1.31 kB
import { SopTypeFile } from '../../poly/registers/nodes/types/Sop'; import { NodeParamsConfig } from '../utils/params/ParamsConfig'; import { TypedSopNode } from './_Base'; import { CoreGroup } from '../../../core/geometry/Group'; declare class File3DSParamsConfig extends NodeParamsConfig { /** @param url to load the geometry from */ url: import("../utils/params/ParamsConfig").ParamTemplate<import("../../index_all").ParamType.STRING>; /** @param texture folder url */ resourceUrl: import("../utils/params/ParamsConfig").ParamTemplate<import("../../index_all").ParamType.STRING>; /** @param sets the matrixAutoUpdate attribute for the objects loaded */ matrixAutoUpdate: import("../utils/params/ParamsConfig").ParamTemplate<import("../../index_all").ParamType.BOOLEAN>; /** @param reload the geometry */ reload: import("../utils/params/ParamsConfig").ParamTemplate<import("../../index_all").ParamType.BUTTON>; } export declare class File3DSSopNode extends TypedSopNode<File3DSParamsConfig> { paramsConfig: File3DSParamsConfig; static type(): SopTypeFile; dispose(): void; private _operation; cook(inputCoreGroups: CoreGroup[]): Promise<void>; static PARAM_CALLBACK_reload(node: File3DSSopNode): void; private _paramCallbackReload; } export {};