polygonjs-engine
Version:
node-based webgl 3D engine https://polygonjs.com
28 lines (27 loc) • 1.11 kB
TypeScript
/**
* Splits a geometry into multiple objects
*
* @remarks
* This is useful to isolate parts of a geometry that matches a specific attribute.
*
*/
import { TypedSopNode } from './_Base';
import { CoreGroup } from '../../../core/geometry/Group';
import { NodeParamsConfig } from '../utils/params/ParamsConfig';
declare class DeleteSopParamsConfig extends NodeParamsConfig {
/** @param type of attribute to use */
attribType: import("../utils/params/ParamsConfig").ParamTemplate<import("../../poly/ParamType").ParamType.INTEGER>;
/** @param name of the attribute */
attribName: import("../utils/params/ParamsConfig").ParamTemplate<import("../../poly/ParamType").ParamType.STRING>;
}
export declare class SplitSopNode extends TypedSopNode<DeleteSopParamsConfig> {
params_config: DeleteSopParamsConfig;
static type(): string;
static displayedInputNames(): string[];
initializeNode(): void;
private _new_objects;
cook(input_contents: CoreGroup[]): Promise<void>;
_split_core_group(core_group: CoreGroup): Promise<void>;
private _split_core_object;
}
export {};