UNPKG

polygonjs-engine

Version:

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

26 lines (25 loc) 955 B
/** * Prints a message to the console or a popup. * * @remarks * This can be useful to debug events * * */ import { TypedEventNode } from './_Base'; import { NodeParamsConfig } from '../utils/params/ParamsConfig'; declare class MessageParamsConfig extends NodeParamsConfig { /** @param toggle on for the message to be displayed in a popup */ alert: import("../utils/params/ParamsConfig").ParamTemplate<import("../../poly/ParamType").ParamType.BOOLEAN>; /** @param toggle on for the message to be printed in the console */ console: import("../utils/params/ParamsConfig").ParamTemplate<import("../../poly/ParamType").ParamType.BOOLEAN>; } export declare class MessageEventNode extends TypedEventNode<MessageParamsConfig> { params_config: MessageParamsConfig; static type(): string; static readonly OUTPUT = "output"; initializeNode(): void; private trigger_output; private _process_trigger_event; } export {};