UNPKG

@polygonjs/polygonjs

Version:

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

23 lines (22 loc) 882 B
/** * Imports a texture from a geometry node * * */ import { TypedCopNode } from './_Base'; import { NodeParamsConfig } from '../utils/params/ParamsConfig'; declare class FetchCopParamsConfig extends NodeParamsConfig { /** @param sop node */ node: import("../utils/params/ParamsConfig").ParamTemplate<import("../../index_all").ParamType.NODE_PATH>; /** @param group to read the material from */ group: import("../utils/params/ParamsConfig").ParamTemplate<import("../../index_all").ParamType.STRING>; /** @param texture name */ name: import("../utils/params/ParamsConfig").ParamTemplate<import("../../index_all").ParamType.STRING>; } export declare class FetchCopNode extends TypedCopNode<FetchCopParamsConfig> { paramsConfig: FetchCopParamsConfig; static type(): 'fetch'; cook(): Promise<void>; private _textureFromMaterial; } export {};