@polygonjs/polygonjs
Version:
node-based WebGL 3D engine https://polygonjs.com
21 lines (20 loc) • 1.01 kB
TypeScript
import { BaseSopOperation } from './_Base';
import { CoreGroup } from '../../../core/geometry/Group';
import { TypedNodePathParamValue } from '../../../core/Walker';
import { InputCloneMode } from '../../../engine/poly/InputCloneMode';
import { DefaultOperationParams } from '../../../core/operations/_Base';
import { SopType } from '../../poly/registers/nodes/types/Sop';
interface ParticlesSystemGpuMaterialSopParams extends DefaultOperationParams {
group: string;
material: TypedNodePathParamValue;
}
export declare class ParticlesSystemGpuMaterialSopOperation extends BaseSopOperation {
static readonly DEFAULT_PARAMS: ParticlesSystemGpuMaterialSopParams;
static readonly INPUT_CLONED_STATE = InputCloneMode.FROM_NODE;
static type(): Readonly<SopType.PARTICLES_SYSTEM_GPU_MATERIAL>;
cook(inputCoreGroups: CoreGroup[], params: ParticlesSystemGpuMaterialSopParams): Promise<CoreGroup>;
private _getMaterial;
private _applyMaterials;
private _applyMaterial;
}
export {};