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.
The inspector node is registered by the inspected node when it is built, see Node#_setupInspector.
Constructor
new InspectorNode(node, name?, callback?)| Parameter | Type | Default Value |
|---|---|---|
| node | Node | — |
| name? | string | |
| callback? | null | Function | null |
Creates an InspectorNode.
| Accessor | Type | |
|---|---|---|
| get type | string | |
Properties
| Property | Type | Default Value | |
|---|---|---|---|
| node | Node | — | |
| name | string | — | |
| callback | null | Function | — | |
| updateType | string | — | |
| isInspectorNode | boolean | — | |
| Method | Type | |
|---|---|---|
| getName | () => string | |
| update | (frame: NodeFrame) => void | |
| generateNodeType | (builder: NodeBuilder) => string | |
Extends
NodeN E W
Creates an inspector node to wrap around a given node for inspection purposes.
| Parameter | Type | Default Value |
|---|---|---|
| node | Node | — |
| name? | string | |
| callback? | null | Function | null |
Returns
Node