UNPKG

@polygonjs/polygonjs

Version:

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

38 lines (37 loc) 2.15 kB
/** * sends a trigger when an object is clicked * * */ import { JsType } from '../../poly/registers/nodes/types/Js'; import { EvaluatorEventData } from './code/assemblers/actor/ActorEvaluator'; import { ExtendableOnObjectPointerEventJsNode, CPUOnObjectPointerEventJsParamsConfig } from './_BaseOnObjectPointerEvent'; import { JsLinesCollectionController } from './code/utils/JsLinesCollectionController'; declare const OnObjectClickJsParamsConfig_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[]): { maxCursorMoveDistance: import("../utils/params/ParamsConfig").ParamTemplate<import("../../index_all").ParamType.FLOAT>; maxDuration: import("../utils/params/ParamsConfig").ParamTemplate<import("../../index_all").ParamType.INTEGER>; }; } & typeof CPUOnObjectPointerEventJsParamsConfig; export declare class OnObjectClickJsParamsConfig extends OnObjectClickJsParamsConfig_base { } export declare class OnObjectClickJsNode extends ExtendableOnObjectPointerEventJsNode<OnObjectClickJsParamsConfig> { readonly paramsConfig: OnObjectClickJsParamsConfig; static type(): JsType; isTriggering(): boolean; eventData(): EvaluatorEventData[] | undefined; initializeNode(): void; setLines(linesController: JsLinesCollectionController): void; setTriggeringLines(linesController: JsLinesCollectionController, triggeredMethods: string): void; private _addIntersectionRef; } export {};