@polygonjs/polygonjs
Version:
node-based WebGL 3D engine https://polygonjs.com
30 lines (29 loc) • 1.37 kB
TypeScript
/**
* Creates a box made of lines.
*
* @remarks
* What this node creates is different than a box mesh with a wireframe material applied, in the sense that this will not create triangles.
*
*/
import { TypedSopNode } from './_Base';
import { CoreGroup } from '../../../core/geometry/Group';
import { NodeParamsConfig } from '../utils/params/ParamsConfig';
import { SopType } from '../../poly/registers/nodes/types/Sop';
declare class BoxLinesSopParamsConfig extends NodeParamsConfig {
/** @param size of the box */
size: import("../utils/params/ParamsConfig").ParamTemplate<import("../../index_all").ParamType.FLOAT>;
/** @param sizes on each axis */
sizes: import("../utils/params/ParamsConfig").ParamTemplate<import("../../index_all").ParamType.VECTOR3>;
/** @param divisions on each axis */
divisions: import("../utils/params/ParamsConfig").ParamTemplate<import("../../index_all").ParamType.VECTOR3>;
/** @param center of the geometry */
center: import("../utils/params/ParamsConfig").ParamTemplate<import("../../index_all").ParamType.VECTOR3>;
}
export declare class BoxLinesSopNode extends TypedSopNode<BoxLinesSopParamsConfig> {
readonly paramsConfig: BoxLinesSopParamsConfig;
static type(): SopType;
protected initializeNode(): void;
private _operation;
cook(inputCoreGroups: CoreGroup[]): void;
}
export {};