@polygonjs/polygonjs
Version:
node-based WebGL 3D engine https://polygonjs.com
38 lines (37 loc) • 2.23 kB
TypeScript
/**
* sends a trigger when the viewer swipes on an object
*
*
*/
import { JsType } from '../../poly/registers/nodes/types/Js';
import { EvaluatorEventData } from './code/assemblers/actor/ActorEvaluator';
import { JsLinesCollectionController } from './code/utils/JsLinesCollectionController';
import { CPUOnObjectPointerEventJsParamsConfig, ExtendableOnObjectPointerEventJsNode } from './_BaseOnObjectPointerEvent';
declare const OnObjectSwipeJsParamsConfig_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[]): {
angle: import("../utils/params/ParamsConfig").ParamTemplate<import("../../index_all").ParamType.FLOAT>;
angleMargin: import("../utils/params/ParamsConfig").ParamTemplate<import("../../index_all").ParamType.FLOAT>;
minDistance: import("../utils/params/ParamsConfig").ParamTemplate<import("../../index_all").ParamType.FLOAT>;
};
} & typeof CPUOnObjectPointerEventJsParamsConfig;
export declare class OnObjectSwipeJsParamsConfig extends OnObjectSwipeJsParamsConfig_base {
}
export declare class OnObjectSwipeJsNode extends ExtendableOnObjectPointerEventJsNode<OnObjectSwipeJsParamsConfig> {
readonly paramsConfig: OnObjectSwipeJsParamsConfig;
static type(): JsType;
eventData(): EvaluatorEventData[] | undefined;
initializeNode(): void;
setLines(linesController: JsLinesCollectionController): void;
setTriggeringLines(linesController: JsLinesCollectionController, triggeredMethods: string): void;
private _addIntersectionRef;
}
export {};