UNPKG

@polygonjs/polygonjs

Version:

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

31 lines (30 loc) 1.4 kB
/** * Creates a CSG cylinder. * * */ 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 CSGTubeSopParamsConfig extends NodeParamsConfig { /** @param height */ height: import("../utils/params/ParamsConfig").ParamTemplate<import("../../index_all").ParamType.FLOAT>; /** @param radius */ radius: import("../utils/params/ParamsConfig").ParamTemplate<import("../../index_all").ParamType.FLOAT>; /** @param segments */ segments: import("../utils/params/ParamsConfig").ParamTemplate<import("../../index_all").ParamType.INTEGER>; /** @param center */ center: import("../utils/params/ParamsConfig").ParamTemplate<import("../../index_all").ParamType.VECTOR3>; /** @param rounded */ rounded: import("../utils/params/ParamsConfig").ParamTemplate<import("../../index_all").ParamType.BOOLEAN>; /** @param rounded radius */ roundedRadius: import("../utils/params/ParamsConfig").ParamTemplate<import("../../index_all").ParamType.FLOAT>; } export declare class CSGTubeSopNode extends CSGSopNode<CSGTubeSopParamsConfig> { paramsConfig: CSGTubeSopParamsConfig; static type(): SopType; private _center; cook(inputCoreGroups: CoreGroup[]): void; } export {};