UNPKG

@polygonjs/polygonjs

Version:

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

28 lines (27 loc) 1.16 kB
/** * gets the ray from 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 RayFromCursorJsParamsConfig extends NodeParamsConfig { /** @param set which element triggers the event */ element: import("../utils/params/ParamsConfig").ParamTemplate<import("../../index_all").ParamType.INTEGER>; } export declare class RayFromCursorJsNode extends BaseUserInputJsNode<RayFromCursorJsParamsConfig> { paramsConfig: RayFromCursorJsParamsConfig; static type(): JsType; eventData(): EvaluatorEventData[] | undefined; eventEmitter(): CoreEventEmitter; setEventEmitter(emitter: CoreEventEmitter): void; initializeNode(): void; setLines(shadersCollectionController: JsLinesCollectionController): void; } export {};