UNPKG

@polygonjs/polygonjs

Version:

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

27 lines (25 loc) 1.19 kB
/** * Cast the BufferAttribute of the index geometry property * */ import { TypedSopNode } from './_Base'; import { CoreGroup } from '../../../core/geometry/Group'; import { NodeParamsConfig } from '../utils/params/ParamsConfig'; declare class IndexCastSopParamsConfig extends NodeParamsConfig { /** @param toggle on to cast attributes */ castAttributes: import("../utils/params/ParamsConfig").ParamTemplate<import("../../index_all").ParamType.BOOLEAN>; /** @param attrib mask */ mask: import("../utils/params/ParamsConfig").ParamTemplate<import("../../index_all").ParamType.STRING>; /** @param toggle on to cast index */ castIndex: import("../utils/params/ParamsConfig").ParamTemplate<import("../../index_all").ParamType.BOOLEAN>; /** @param type of attribute to cast to */ type: import("../utils/params/ParamsConfig").ParamTemplate<import("../../index_all").ParamType.INTEGER>; } export declare class AttribCastSopNode extends TypedSopNode<IndexCastSopParamsConfig> { paramsConfig: IndexCastSopParamsConfig; static type(): string; initializeNode(): void; private _operation; cook(input_contents: CoreGroup[]): void; } export {};