UNPKG

@polygonjs/polygonjs

Version:

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

39 lines (38 loc) 2.32 kB
/** * sends a trigger when the viewer taps or clicks on an object * * */ import { JsConnectionPoint, JsConnectionPointType } from '../utils/io/connections/Js'; import { JsType } from '../../poly/registers/nodes/types/Js'; import { JsLinesCollectionController } from './code/utils/JsLinesCollectionController'; import { EvaluatorEventData } from './code/assemblers/actor/ActorEvaluator'; import { ExtendableOnObjectPointerEventJsNode, CPUOnObjectPointerEventJsParamsConfig } from './_BaseOnObjectPointerEvent'; declare const OnObjectLongPressJsParamsConfig_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>; }; } & { new (...args: any[]): { duration: import("../utils/params/ParamsConfig").ParamTemplate<import("../../index_all").ParamType.INTEGER>; maxCursorMoveDistance: import("../utils/params/ParamsConfig").ParamTemplate<import("../../index_all").ParamType.FLOAT>; }; } & typeof CPUOnObjectPointerEventJsParamsConfig; export declare class OnObjectLongPressJsParamsConfig extends OnObjectLongPressJsParamsConfig_base { } export declare class OnObjectLongPressJsNode extends ExtendableOnObjectPointerEventJsNode<OnObjectLongPressJsParamsConfig> { readonly paramsConfig: OnObjectLongPressJsParamsConfig; static type(): JsType; eventData(): EvaluatorEventData[] | undefined; initializeNode(): void; protected _additionalInputs(): JsConnectionPoint<JsConnectionPointType>[]; setLines(linesController: JsLinesCollectionController): void; setTriggeringLines(linesController: JsLinesCollectionController, triggeredMethods: string): void; private _addIntersectionRef; } export {};