UNPKG

polygonjs-engine

Version:

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

21 lines (20 loc) 726 B
import { BaseSopOperation } from './_Base'; import { DefaultOperationParams } from '../_Base'; import { CoreGroup } from '../../../core/geometry/Group'; import { Vector3 } from 'three/src/math/Vector3'; interface AddSopParams extends DefaultOperationParams { createPoint: boolean; pointsCount: number; position: Vector3; connectInputPoints: boolean; connectToLastPoint: boolean; } export declare class AddSopOperation extends BaseSopOperation { static readonly DEFAULT_PARAMS: AddSopParams; static type(): Readonly<'add'>; cook(input_contents: CoreGroup[], params: AddSopParams): CoreGroup; private _create_point; private _create_polygon; private _create_polygon_open; } export {};