EventDispatcher → Node →

# InspectorNode

InspectorNode is a wrapper node that allows inspection of node values during rendering. It can be used to debug or analyze node outputs in the rendering pipeline.

## Constructor

### new InspectorNode ( node : Node, name : string, callback : function | null )

Creates an InspectorNode.

node | The node to inspect.
name | Optional name for the inspector node. Default is `''`.
callback | Optional callback to modify the node during setup. Default is `null`.

## Properties

### .type

Returns the type of the node.

## Methods

### .getName () : string

Returns the name of the inspector node.

### .getNodeType ( builder : NodeBuilder ) : string

Returns the type of the wrapped node.

builder | The node builder.

Overrides: Node#getNodeType

### .setup ( builder : NodeBuilder ) : Node

Sets up the inspector node.

builder | The node builder.

Overrides: Node#setup

Returns: The setup node.

### .update ( frame : NodeFrame )

Updates the inspector node, allowing inspection of the wrapped node.

frame | A reference to the current node frame.

Overrides: Node#update

## Source

src/nodes/core/InspectorNode.js