UNPKG

@polygonjs/polygonjs

Version:

node-based WebGL 3D engine https://polygonjs.com

28 lines (27 loc) 1.14 kB
/** * gets the 2D position of the cursor * * @remarks * * */ import { NodeParamsConfig } from '../utils/params/ParamsConfig'; import { JsType } from '../../poly/registers/nodes/types/Js'; import { BaseUserInputJsNode } from './_BaseUserInput'; import { CoreEventEmitter } from '../../../core/event/CoreEventEmitter'; import { JsLinesCollectionController } from './code/utils/JsLinesCollectionController'; import { EvaluatorEventData } from './code/assemblers/actor/ActorEvaluator'; declare class CursorJsParamsConfig extends NodeParamsConfig { /** @param set which element triggers the event */ element: import("../utils/params/ParamsConfig").ParamTemplate<import("../../index_all").ParamType.INTEGER>; } export declare class CursorJsNode extends BaseUserInputJsNode<CursorJsParamsConfig> { paramsConfig: CursorJsParamsConfig; static type(): JsType.CURSOR; eventData(): EvaluatorEventData | undefined; eventEmitter(): CoreEventEmitter; setEventEmitter(emitter: CoreEventEmitter): void; initializeNode(): void; setLines(shadersCollectionController: JsLinesCollectionController): void; } export {};