@polygonjs/polygonjs
Version:
node-based WebGL 3D engine https://polygonjs.com
18 lines (17 loc) • 751 B
TypeScript
/**
* converts a cursor position to uv coordinates, which can be used by nodes like js/renderPixel
*
*/
import { TypedJsNode } from './_Base';
import { NodeParamsConfig } from '../utils/params/ParamsConfig';
import { JsLinesCollectionController } from './code/utils/JsLinesCollectionController';
declare class CursorToUvJsParamsConfig extends NodeParamsConfig {
cursor: import("../utils/params/ParamsConfig").ParamTemplate<import("../../index_all").ParamType.VECTOR2>;
}
export declare class CursorToUvJsNode extends TypedJsNode<CursorToUvJsParamsConfig> {
readonly paramsConfig: CursorToUvJsParamsConfig;
static type(): string;
initializeNode(): void;
setLines(linesController: JsLinesCollectionController): void;
}
export {};