polygonjs-engine
Version:
node-based webgl 3D engine https://polygonjs.com
21 lines (20 loc) • 1.27 kB
TypeScript
import { NodeParamsConfig } from '../utils/params/ParamsConfig';
import { TypedInputEventNode } from './_BaseInput';
declare class PointerEventParamsConfig extends NodeParamsConfig {
/** @param toggle on to allow any event to be listened to */
active: import("../utils/params/ParamsConfig").ParamTemplate<import("../../poly/ParamType").ParamType.BOOLEAN>;
sep: import("../utils/params/ParamsConfig").ParamTemplate<import("../../poly/ParamType").ParamType.SEPARATOR>;
/** @param toggle on to listen to click events */
pointerdown: import("../utils/params/ParamsConfig").ParamTemplate<import("../../poly/ParamType").ParamType.BOOLEAN>;
/** @param toggle on to listen to pointermove events */
pointermove: import("../utils/params/ParamsConfig").ParamTemplate<import("../../poly/ParamType").ParamType.BOOLEAN>;
/** @param toggle on to listen to pointerup events */
pointerup: import("../utils/params/ParamsConfig").ParamTemplate<import("../../poly/ParamType").ParamType.BOOLEAN>;
}
export declare class PointerEventNode extends TypedInputEventNode<PointerEventParamsConfig> {
params_config: PointerEventParamsConfig;
static type(): string;
protected accepted_event_types(): string[];
initializeNode(): void;
}
export {};