polygonjs-engine
Version:
node-based webgl 3D engine https://polygonjs.com
21 lines (20 loc) • 878 B
TypeScript
import { BaseSopOperation } from './_Base';
import { DefaultOperationParams } from '../_Base';
import { CoreGroup } from '../../../core/geometry/Group';
import { TypedNodePathParamValue } from '../../Walker';
import { InputCloneMode } from '../../../engine/poly/InputCloneMode';
interface AttribFromTextureSopParams extends DefaultOperationParams {
texture: TypedNodePathParamValue;
uvAttrib: string;
attrib: string;
add: number;
mult: number;
}
export declare class AttribFromTextureSopOperation extends BaseSopOperation {
static readonly DEFAULT_PARAMS: AttribFromTextureSopParams;
static readonly INPUT_CLONED_STATE = InputCloneMode.FROM_NODE;
static type(): Readonly<'attribFromTexture'>;
cook(input_contents: CoreGroup[], params: AttribFromTextureSopParams): Promise<CoreGroup>;
private _set_position_from_data_texture;
}
export {};