UNPKG

@polygonjs/polygonjs

Version:

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

32 lines (31 loc) 1.45 kB
/** * Creates a CSG rectangle. * * */ 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 CSGRectangleSopParamsConfig extends NodeParamsConfig { /** @param size */ size: import("../utils/params/ParamsConfig").ParamTemplate<import("../../index_all").ParamType.FLOAT>; /** @param sizes */ sizes: import("../utils/params/ParamsConfig").ParamTemplate<import("../../index_all").ParamType.VECTOR2>; /** @param center */ center: import("../utils/params/ParamsConfig").ParamTemplate<import("../../index_all").ParamType.VECTOR2>; /** @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>; /** @param rounded segments */ roundedSegments: import("../utils/params/ParamsConfig").ParamTemplate<import("../../index_all").ParamType.INTEGER>; } export declare class CSGRectangleSopNode extends CSGSopNode<CSGRectangleSopParamsConfig> { paramsConfig: CSGRectangleSopParamsConfig; static type(): SopType; private _center; private _sizes; cook(inputCoreGroups: CoreGroup[]): void; } export {};