@polygonjs/polygonjs
Version:
node-based WebGL 3D engine https://polygonjs.com
24 lines (23 loc) • 901 B
TypeScript
/**
* Displays a button to send a trigger
*
* @remarks
* This is useful when you want to manually test a series of events
*
*/
import { TypedEventNode } from './_Base';
import { NodeParamsConfig } from '../utils/params/ParamsConfig';
import { EventContext } from '../../../core/event/EventContextType';
declare class ButtonEventParamsConfig extends NodeParamsConfig {
/** @param button to presse to trigger the event */
dispatch: import("../utils/params/ParamsConfig").ParamTemplate<import("../../index_all").ParamType.BUTTON>;
}
export declare class ButtonEventNode extends TypedEventNode<ButtonEventParamsConfig> {
paramsConfig: ButtonEventParamsConfig;
static type(): string;
initializeNode(): void;
processEvent(event_context: EventContext<Event>): void;
private process_event_execute;
static PARAM_CALLBACK_execute(node: ButtonEventNode): void;
}
export {};