mathe/Library/PackageCache/com.unity.shadergraph@14.0.8/Documentation~/Main-Preview.md
2024-09-20 20:30:10 +02:00

12 lines
793 B
Markdown

# Main Preview
## Description
The **Main Preview** displays a representation of the shader on the active **Render Pipeline**. It updates in real-time and automatically updates to display any changes you make in the Shader Graph. The title bar of the **Main Preview** displays the name of the current shader.
The **Main Preview** can be moved to anywhere in the [Shader Graph Window](Shader-Graph-Window.md) and will automatically move with the nearest corner of that window.
### Preview Mesh
You can rotate the preview mesh by holding left mouse button and dragging on the **Main Preview** and you can scale it by using the scroll wheel. The preview mesh can be changed by right clicking on the **Main Preview**. Here you can select from any primitive mesh types or select a custom mesh.