Is Viewport Node¶
The Is Viewport node outputs whether the node tree is being evaluated for an interactive viewport rather than for a final render.
This can be used to switch between different parts of a node tree depending on the evaluation context. For example, computationally expensive operations can be replaced with simpler alternatives while working interactively, while the full-quality result is used for the final render.
In Geometry Nodes, the output is true when the node tree is evaluated for the 3D Viewport. In the Compositor, it is true when evaluated by the Viewport Compositor. For a final render, the output is false.
Inputs¶
This node has no inputs.
Outputs¶
- Is Viewport
Boolean value indicating whether the node tree is being evaluated for an interactive viewport.
Example¶
Using Is Viewport to switch between lower and higher quality geometry.¶