UNPKG

@polygonjs/polygonjs

Version:

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

23 lines (22 loc) 951 B
/** * Split the faces when the angle between their respective normals goes above a threshold * * */ 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 FacetSopParamsConfig extends NodeParamsConfig { /** @param group to assign the material to */ group: import("../utils/params/ParamsConfig").ParamTemplate<import("../../index_all").ParamType.STRING>; /** @param angle threshold to separate vertices */ angle: import("../utils/params/ParamsConfig").ParamTemplate<import("../../index_all").ParamType.FLOAT>; } export declare class FacetSopNode extends TypedSopNode<FacetSopParamsConfig> { paramsConfig: FacetSopParamsConfig; static type(): SopType; initializeNode(): void; cook(inputCoreGroups: CoreGroup[]): void; } export {};