@polygonjs/polygonjs
Version:
node-based WebGL 3D engine https://polygonjs.com
39 lines (38 loc) • 2.27 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 { CPUOnObjectPointerEventJsParamsConfig, ExtendableOnObjectPointerEventJsNode } from './_BaseOnObjectPointerEvent';
import { JsLinesCollectionController } from './code/utils/JsLinesCollectionController';
declare const OnObjectSwipeGPUJsParamsConfig_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 OnObjectSwipeGPUJsParamsConfig extends OnObjectSwipeGPUJsParamsConfig_base {
}
export declare class OnObjectSwipeGPUJsNode extends ExtendableOnObjectPointerEventJsNode<OnObjectSwipeGPUJsParamsConfig> {
readonly paramsConfig: OnObjectSwipeGPUJsParamsConfig;
static type(): JsType;
isTriggering(): boolean;
eventData(): EvaluatorEventData[] | undefined;
initializeNode(): void;
setLines(linesController: JsLinesCollectionController): void;
setTriggeringLines(linesController: JsLinesCollectionController, triggeredMethods: string): void;
private _addDistanceRef;
}
export {};