@polygonjs/polygonjs
Version:
node-based WebGL 3D engine https://polygonjs.com
27 lines (26 loc) • 1.2 kB
TypeScript
/**
* Creates a BVH from geometries.
*
* @remarks
* BVH allow for faster raycasting
*
*/
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 BVHSopParamsConfig extends NodeParamsConfig {
strategy: import("../utils/params/ParamsConfig").ParamTemplate<import("../../index_all").ParamType.INTEGER>;
maxDepth: import("../utils/params/ParamsConfig").ParamTemplate<import("../../index_all").ParamType.INTEGER>;
maxLeafTris: import("../utils/params/ParamsConfig").ParamTemplate<import("../../index_all").ParamType.INTEGER>;
compact: import("../utils/params/ParamsConfig").ParamTemplate<import("../../index_all").ParamType.BOOLEAN>;
verbose: import("../utils/params/ParamsConfig").ParamTemplate<import("../../index_all").ParamType.BOOLEAN>;
}
export declare class BVHSopNode extends TypedSopNode<BVHSopParamsConfig> {
paramsConfig: BVHSopParamsConfig;
static type(): SopType;
initializeNode(): void;
private _operation;
cook(inputCoreGroups: CoreGroup[]): void;
}
export {};