Vixen
02b45cc4
csharp
public enum ViewMode

What 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)

  • Shaded

    The scene as it will ship.

  • Wireframe

    Edges only.

  • ShadedWireframe

    Shaded, with the edges over it.

  • Unlit

    Materials with no lighting.

  • Albedo

    Base colour alone.

  • Normal

    Shading normals as colour.

  • Roughness

    Roughness as greyscale.

  • Overdraw

    How many times each pixel was written.

  • LightComplexity

    How 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