UNPKG

@polygonjs/polygonjs

Version:

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

22 lines (21 loc) 1.02 kB
/** * Assigns a material to be used by particles */ import { TypedSopNode } from './_Base'; import { CoreGroup } from '../../../core/geometry/Group'; import { NodeParamsConfig } from '../utils/params/ParamsConfig'; import { SopType } from '../../poly/registers/nodes/types/Sop'; declare class ParticlesSystemGpuMaterialSopParamsConfig extends NodeParamsConfig { /** @param group to assign the material to */ group: import("../utils/params/ParamsConfig").ParamTemplate<import("../../index_all").ParamType.STRING>; /** @param the material node */ material: import("../utils/params/ParamsConfig").ParamTemplate<import("../../index_all").ParamType.NODE_PATH>; } export declare class ParticlesSystemGpuMaterialSopNode extends TypedSopNode<ParticlesSystemGpuMaterialSopParamsConfig> { paramsConfig: ParticlesSystemGpuMaterialSopParamsConfig; static type(): SopType; protected initializeNode(): void; private _operation; cook(inputCoreGroups: CoreGroup[]): Promise<void>; } export {};