Files
RobustToolbox/Robust.Shared/Enums/OverlaySpaces.cs
Vera Aguilera Puerto c4946b8466 Viewport Improvements (#1528)
Co-authored-by: 20kdc <asdd2808@gmail.com>
Co-authored-by: Pieter-Jan Briers <pieterjan.briers+git@gmail.com>
2021-04-19 09:47:20 +02:00

47 lines
1.4 KiB
C#

using System;
using System.Collections.Generic;
using System.Text;
namespace Robust.Shared.Enums {
/// <summary>
/// Determines in which canvas layers an overlay gets drawn.
/// </summary>
[Flags]
public enum OverlaySpace {
/// <summary>
/// Used for matching bit flags.
/// </summary>
None = 0,
/// <summary>
/// This overlay will be drawn in screen coordinates in the UI space above the world.
/// </summary>
ScreenSpace = 1 << 1,
/// <summary>
/// This overlay will be drawn above entities, lighting, and FOV.
/// </summary>
WorldSpace = 1 << 2,
/// <summary>
/// This overlay will be drawn beneath FOV; above lighting and entities.
/// </summary>
WorldSpaceBelowFOV = 1 << 3,
/// <summary>
/// This overlay will be drawn beneath entities, lighting, and FOV; above grids.
/// </summary>
WorldSpaceBelowEntities = 1 << 4,
/// <summary>
/// This overlay will be drawn in screen coordinates behind the world.
/// </summary>
ScreenSpaceBelowWorld = 1 << 5,
/// <summary>
/// Overlay will be rendered below grids, entities, and everything else. In world space.
/// </summary>
WorldSpaceBelowWorld = 1 << 6
}
}