DebugDisplayFlags
Namespace: MonineEngine.Core
List of flags to define what the debug overlay should render.
public enum DebugDisplayFlags
Inheritance Object → ValueType → Enum → DebugDisplayFlags
Implements IComparable, ISpanFormattable, IFormattable, IConvertible
Attributes FlagsAttribute
Fields
| Name | Value | Description |
|---|---|---|
| None | 0 | Render nothing in the overlay. Equivalent to disabling it. |
| FPS | 1 | Render the amount of frames rendered per second. |
| EntityCount | 2 | Render the current Entity count within the currently loaded Scene. |
| EntityColliders | 4 | Render boxes to represent colliders. This applies to all entities that have a collider. |
| Pivots | 8 | Render artifacts to represent Entity position, rotation, and scale. This applies to all entities. |
| Bounds | 16 | Render boxes to represent sprite bounds. This applies to all entities that have a renderer. |
| TimeSinceStartup | 32 | Render the time since game startup in seconds. |
| TimeSinceSceneLoad | 64 | Render the time since the scene loaded in seconds. |
| DrawBatchCount | 128 | Render the amount of draw batches done on the current frame. |
| WatchValues | 256 | Render values the overlay was assigned to watch. |
| All | -1 | Render DebugDisplayFlags.FPS, DebugDisplayFlags.EntityCount, DebugDisplayFlags.EntityColliders, DebugDisplayFlags.Pivots, DebugDisplayFlags.Bounds, DebugDisplayFlags.TimeSinceSceneLoad, DebugDisplayFlags.TimeSinceStartup, DebugDisplayFlags.DrawBatchCount, and DebugDisplayFlags.WatchValues, all at once. |
| Default | 195 | Render DebugDisplayFlags.EntityCount, DebugDisplayFlags.FPS, DebugDisplayFlags.DrawBatchCount, and DebugDisplayFlags.TimeSinceSceneLoad. |