Vixen
02b45cc4
csharp
public enum SceneMenuSurface

Which of the viewport's two summoned menus an entry belongs to.

Read the guide page for this →

Remarks

⚠ A flags enum, because the useful case is both. A mode's four commonest verbs want to be a flick away and to be in the list somebody reads when they cannot remember the flick — and a contributor who had to register the same command twice would register it once and pick wrong.

Fields and properties (4)

  • None

    Nowhere. Not useful, and it is the default so that it has to be chosen.

  • Radial

    The pie menu: a direction, and after a week a flick.

  • Context

    The list the context key opens: read rather than aimed.

  • Both

    Both, which is what most entries want.

Used by (3)

  • EditorApplicationVixen.Editor.App
  • SceneMenuItemVixen.Editor.SceneView
  • SceneMenuTestsVixen.Editor.App.Tests