UNPKG

polygonjs-engine

Version:

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

24 lines (23 loc) 918 B
/** * 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 { EventContext } from '../../scene/utils/events/_BaseEventsController'; import { NodeParamsConfig } from '../utils/params/ParamsConfig'; declare class ButtonEventParamsConfig extends NodeParamsConfig { /** @param button to presse to trigger the event */ dispatch: import("../utils/params/ParamsConfig").ParamTemplate<import("../../poly/ParamType").ParamType.BUTTON>; } export declare class ButtonEventNode extends TypedEventNode<ButtonEventParamsConfig> { params_config: ButtonEventParamsConfig; static type(): string; initializeNode(): void; process_event(event_context: EventContext<Event>): void; private process_event_execute; static PARAM_CALLBACK_execute(node: ButtonEventNode): void; } export {};