polygonjs-engine
Version:
node-based webgl 3D engine https://polygonjs.com
26 lines (25 loc) • 1.12 kB
TypeScript
/**
* Sets the draw range of the input geometry.
*
* @remarks
* This can be useful when hiding part of an object with very little performance overhead.
*
*/
import { TypedSopNode } from './_Base';
import { CoreGroup } from '../../../core/geometry/Group';
import { NodeParamsConfig } from '../utils/params/ParamsConfig';
declare class DrawRangeSopParamsConfig extends NodeParamsConfig {
/** @param start of the draw range */
start: import("../utils/params/ParamsConfig").ParamTemplate<import("../../poly/ParamType").ParamType.INTEGER>;
/** @param defines if count is used */
useCount: import("../utils/params/ParamsConfig").ParamTemplate<import("../../poly/ParamType").ParamType.BOOLEAN>;
/** @param number of items in the draw range */
count: import("../utils/params/ParamsConfig").ParamTemplate<import("../../poly/ParamType").ParamType.INTEGER>;
}
export declare class DrawRangeSopNode extends TypedSopNode<DrawRangeSopParamsConfig> {
params_config: DrawRangeSopParamsConfig;
static type(): string;
initializeNode(): void;
cook(input_contents: CoreGroup[]): void;
}
export {};