UNPKG

@polygonjs/polygonjs

Version:

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

26 lines (25 loc) 1.1 kB
/** * Creates a CSG line. * * */ import { CSGSopNode } from './_BaseCSG'; import { NodeParamsConfig } from '../utils/params/ParamsConfig'; import { CoreGroup } from '../../../core/geometry/Group'; import { SopType } from '../../poly/registers/nodes/types/Sop'; declare class CSGLineSopParamsConfig extends NodeParamsConfig { /** @param length */ length: import("../utils/params/ParamsConfig").ParamTemplate<import("../../index_all").ParamType.FLOAT>; /** @param points count */ pointsCount: import("../utils/params/ParamsConfig").ParamTemplate<import("../../index_all").ParamType.INTEGER>; /** @param origin */ origin: import("../utils/params/ParamsConfig").ParamTemplate<import("../../index_all").ParamType.VECTOR2>; /** @param direction */ direction: import("../utils/params/ParamsConfig").ParamTemplate<import("../../index_all").ParamType.VECTOR2>; } export declare class CSGLineSopNode extends CSGSopNode<CSGLineSopParamsConfig> { paramsConfig: CSGLineSopParamsConfig; static type(): SopType; cook(inputCoreGroups: CoreGroup[]): void; } export {};