UNPKG

@polygonjs/polygonjs

Version:

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

23 lines (22 loc) 842 B
/** * Activates events for the viewer * * @param * For instance, this can be useful after a raycast node to set an 'active' class on the html canvas, so that the cursor reflect what the mouse is hovering over. * */ import { TypedEventNode } from './_Base'; import { NodeParamsConfig } from '../utils/params/ParamsConfig'; declare class ViewerParamsConfig extends NodeParamsConfig { /** @param sets the class of the viewer */ className: import("../utils/params/ParamsConfig").ParamTemplate<import("../../index_all").ParamType.STRING>; } export declare class ViewerEventNode extends TypedEventNode<ViewerParamsConfig> { paramsConfig: ViewerParamsConfig; static type(): string; initializeNode(): void; private _getViewer; private _process_trigger_setClass; private _process_trigger_unsetClass; } export {};