UNPKG

@polygonjs/polygonjs

Version:

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

32 lines (31 loc) 1.88 kB
/** * sends a trigger when the viewer taps or clicks on an object * * */ import { JsType } from '../../poly/registers/nodes/types/Js'; import { JsLinesCollectionController } from './code/utils/JsLinesCollectionController'; import { ExtendableOnObjectPointerEventJsNode, GPUOnObjectPointerEventJsParamsConfig } from './_BaseOnObjectPointerEvent'; import { EvaluatorEventData } from './code/assemblers/actor/ActorEvaluator'; declare const OnObjectPointerupGPUJsParamsConfig_base: { new (...args: any[]): { buttonLeft: import("../utils/params/ParamsConfig").ParamTemplate<import("../../index_all").ParamType.BOOLEAN>; buttonMiddle: import("../utils/params/ParamsConfig").ParamTemplate<import("../../index_all").ParamType.BOOLEAN>; buttonRight: import("../utils/params/ParamsConfig").ParamTemplate<import("../../index_all").ParamType.BOOLEAN>; ctrl: import("../utils/params/ParamsConfig").ParamTemplate<import("../../index_all").ParamType.INTEGER>; shift: import("../utils/params/ParamsConfig").ParamTemplate<import("../../index_all").ParamType.INTEGER>; alt: import("../utils/params/ParamsConfig").ParamTemplate<import("../../index_all").ParamType.INTEGER>; }; } & typeof GPUOnObjectPointerEventJsParamsConfig; export declare class OnObjectPointerupGPUJsParamsConfig extends OnObjectPointerupGPUJsParamsConfig_base { } export declare class OnObjectPointerupGPUJsNode extends ExtendableOnObjectPointerEventJsNode<OnObjectPointerupGPUJsParamsConfig> { readonly paramsConfig: OnObjectPointerupGPUJsParamsConfig; static type(): JsType; eventData(): EvaluatorEventData | undefined; initializeNode(): void; setLines(linesController: JsLinesCollectionController): void; setTriggeringLines(linesController: JsLinesCollectionController, triggeredMethods: string): void; private _addDistanceRef; } export {};