UNPKG

polygonjs-engine

Version:

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

20 lines (19 loc) 773 B
import { BaseSopOperation } from './_Base'; import { CoreGroup } from '../../geometry/Group'; import { DefaultOperationParams } from '../_Base'; import { InputCloneMode } from '../../../engine/poly/InputCloneMode'; interface ScatterSopParams extends DefaultOperationParams { pointsCount: number; seed: number; transferAttributes: boolean; attributesToTransfer: string; addIdAttribute: boolean; addIdnAttribute: boolean; } export declare class ScatterSopOperation extends BaseSopOperation { static readonly DEFAULT_PARAMS: ScatterSopParams; static readonly INPUT_CLONED_STATE = InputCloneMode.FROM_NODE; static type(): Readonly<'scatter'>; cook(input_contents: CoreGroup[], params: ScatterSopParams): Promise<CoreGroup>; } export {};