UNPKG

polygonjs-engine

Version:

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

27 lines (26 loc) 1.17 kB
/** * Just like the Box, with rounded bevels. * */ import { TypedSopNode } from './_Base'; import { CoreGroup } from '../../../core/geometry/Group'; import { NodeParamsConfig } from '../utils/params/ParamsConfig'; declare class BoxSopParamsConfig extends NodeParamsConfig { /** @param size of the box */ size: import("../utils/params/ParamsConfig").ParamTemplate<import("../../poly/ParamType").ParamType.FLOAT>; /** @param divisions count */ divisions: import("../utils/params/ParamsConfig").ParamTemplate<import("../../poly/ParamType").ParamType.INTEGER>; /** @param bevel size */ bevel: import("../utils/params/ParamsConfig").ParamTemplate<import("../../poly/ParamType").ParamType.FLOAT>; /** @param center of the box */ center: import("../utils/params/ParamsConfig").ParamTemplate<import("../../poly/ParamType").ParamType.VECTOR3>; } export declare class RoundedBoxSopNode extends TypedSopNode<BoxSopParamsConfig> { params_config: BoxSopParamsConfig; static type(): string; static displayedInputNames(): string[]; initializeNode(): void; private _operation; cook(input_contents: CoreGroup[]): void; } export {};