@polygonjs/polygonjs
Version:
node-based WebGL 3D engine https://polygonjs.com
20 lines (19 loc) • 815 B
TypeScript
import { BaseSopOperation } from './_Base';
import { CoreGroup } from '../../../core/geometry/Group';
import { SopType } from '../../poly/registers/nodes/types/Sop';
import { Vector2 } from 'three';
import { InputCloneMode } from '../../poly/InputCloneMode';
import { DefaultOperationParams } from '../../../core/operations/_Base';
interface UvTransformSopParams extends DefaultOperationParams {
attribName: string;
t: Vector2;
s: Vector2;
pivot: Vector2;
}
export declare class UvTransformSopOperation extends BaseSopOperation {
static readonly DEFAULT_PARAMS: UvTransformSopParams;
static readonly INPUT_CLONED_STATE = InputCloneMode.FROM_NODE;
static type(): Readonly<SopType.UV_TRANSFORM>;
cook(input_contents: CoreGroup[], params: UvTransformSopParams): CoreGroup;
}
export {};