csharp
public enum ViewModeWhat a viewport is showing.
No guide page documents this yet — the page shows what the code says about itself.
Remarks
Every one of these is the scene drawn a different way rather than a different picture with an overlay on it, which is what makes them all reachable by swapping the compositor rather than by adding a branch to the renderer.
Fields and properties (9)
ShadedThe scene as it will ship.
WireframeEdges only.
ShadedWireframeShaded, with the edges over it.
UnlitMaterials with no lighting.
AlbedoBase colour alone.
NormalShading normals as colour.
RoughnessRoughness as greyscale.
OverdrawHow many times each pixel was written.
LightComplexityHow many lights each pixel was shaded by.
Used by (8)
- EditorApplicationVixen.Editor.App
- SceneMaterialTestsVixen.Editor.SceneView.Tests
- SceneMeshesVixen.Editor.SceneView
- ViewModesVixen.Editor.SceneView
- ViewShadingVixen.Editor.SceneView
- ViewportIdsVixen.Editor.App
- ViewportStateTestsVixen.Editor.SceneView.Tests
- ViewportTestsVixen.Editor.App.Tests