Vixen
02b45cc4
csharp
public enum OverlayCorner

Which corner of the pane an overlay sits in.

Read the guide page for this →

Remarks

⚠ A corner rather than coordinates, because a pane is not a canvas. Panes are split, resized and rearranged, and an overlay placed at a pixel offset ends up under the toolbar in one layout and off the edge in another. Four corners is what a docked thing can say about where it wants to be and still be somewhere sensible in every layout.

Fields and properties (4)

  • TopLeft

    Top left, under the toolbar.

  • TopRight

    Top right.

  • BottomLeft

    Bottom left.

  • BottomRight

    Bottom right, above the stats readout.

Used by (4)

  • DeclaredContributionTestsVixen.Editor.App.Tests
  • OverlayAttributeVixen.Editor.SceneView
  • SceneOverlayVixen.Editor.SceneView
  • ViewportChromeVixen.Editor.App