UnityGame/Library/PackageCache/com.unity.shadergraph/Documentation~/Main-Preview.md
2024-10-27 10:53:47 +03: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.