@polygonjs/polygonjs
Version:
node-based WebGL 3D engine https://polygonjs.com
29 lines (28 loc) • 1.16 kB
TypeScript
/**
* Center the CSG input geometry
*
*
*/
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 CSGCenterSopParamsConfig extends NodeParamsConfig {
/** @param x */
x: import("../utils/params/ParamsConfig").ParamTemplate<import("../../index_all").ParamType.BOOLEAN>;
/** @param y */
y: import("../utils/params/ParamsConfig").ParamTemplate<import("../../index_all").ParamType.BOOLEAN>;
/** @param z */
z: import("../utils/params/ParamsConfig").ParamTemplate<import("../../index_all").ParamType.BOOLEAN>;
/** @param relativeTo */
relativeTo: import("../utils/params/ParamsConfig").ParamTemplate<import("../../index_all").ParamType.VECTOR3>;
}
export declare class CSGCenterSopNode extends CSGSopNode<CSGCenterSopParamsConfig> {
paramsConfig: CSGCenterSopParamsConfig;
static type(): SopType;
protected initializeNode(): void;
private _relativeTo;
private _axes;
cook(inputCoreGroups: CoreGroup[]): void;
}
export {};