@polygonjs/polygonjs
Version:
node-based WebGL 3D engine https://polygonjs.com
27 lines (26 loc) • 968 B
TypeScript
import { BaseSopOperation } from './_Base';
import { CoreGroup } from '../../../core/geometry/Group';
import { Vector2 } from 'three';
import { Vector3 } from 'three';
import { Vector4 } from 'three';
import { InputCloneMode } from '../../../engine/poly/InputCloneMode';
import { DefaultOperationParams } from '../../../core/operations/_Base';
export interface AttribCreateSopParams extends DefaultOperationParams {
group: string;
class: number;
type: number;
name: string;
size: number;
value1: number;
value2: Vector2;
value3: Vector3;
value4: Vector4;
string: string;
}
export declare class AttribCreateSopOperation extends BaseSopOperation {
static readonly DEFAULT_PARAMS: AttribCreateSopParams;
static readonly INPUT_CLONED_STATE = InputCloneMode.FROM_NODE;
static type(): Readonly<'attribCreate'>;
cook(inputCoreGroups: CoreGroup[], params: AttribCreateSopParams): CoreGroup;
private _addAttribute;
}