@polygonjs/polygonjs
Version:
node-based WebGL 3D engine https://polygonjs.com
26 lines (25 loc) • 1.02 kB
TypeScript
import { BaseSopOperation } from './_Base';
import { CoreGroup } from '../../../core/geometry/Group';
import { InputCloneMode } from '../../../engine/poly/InputCloneMode';
import { DefaultOperationParams } from '../../../core/operations/_Base';
interface AttribCopySopParams extends DefaultOperationParams {
class: number;
name: string;
tnewName: boolean;
newName: string;
srcOffset: number;
destOffset: number;
}
export declare class AttribCopySopOperation extends BaseSopOperation {
static readonly DEFAULT_PARAMS: AttribCopySopParams;
static readonly INPUT_CLONED_STATE: InputCloneMode[];
static type(): Readonly<'attribCopy'>;
cook(inputCoreGroups: CoreGroup[], params: AttribCopySopParams): CoreGroup;
private _copyAttributeBetweenCoreGroups;
private _copyAttributesBetweenGeometries;
private _copyAttributesBetweenObjects;
private _copyAttributesBetweenCoreGroups;
private _copyPointAttributesBetweenGeometries;
private _fillDestArray;
}
export {};