@polygonjs/polygonjs
Version:
node-based WebGL 3D engine https://polygonjs.com
25 lines (24 loc) • 897 B
TypeScript
import { BaseSopOperation } from './_Base';
import { CoreGroup } from '../../../core/geometry/Group';
import { DefaultOperationParams } from '../../../core/operations/_Base';
interface AttribIdSopParams extends DefaultOperationParams {
class: number;
id: boolean;
idName: string;
idn: boolean;
idnName: string;
}
export declare class AttribIdSopOperation extends BaseSopOperation {
static readonly DEFAULT_PARAMS: AttribIdSopParams;
static type(): Readonly<'attribId'>;
cook(inputCoreGroups: CoreGroup[], params: AttribIdSopParams): CoreGroup;
private _addAttribute;
private _addPointAttributesToObjects;
private _addVertexAttributesToObjects;
private _addPrimitiveAttributesToObjects;
private _addPointAttributesToObject;
private _addVertexAttributes;
private _addPrimitiveAttributes;
private _addAttributesToEntities;
}
export {};