Vixen
caa30e12
csharp
public enum AiDebugCategory

Which parts of the AI debugger are drawn.

Read the guide page for this →

Remarks

Unreal's numbered categories, and the numbering is the feature. Its gameplay debugger is one key that opens one overlay and then digits that turn parts of it on and off, and it is the most-used AI feature in that engine because the alternative — a menu of checkboxes somewhere else — is a thing you stop doing while chasing a bug.

⚠ Flags rather than a mode. "The plan and the senses, but not the blackboard" is the ordinary request; an enum would make every combination a member and the useful ones the ones nobody thought of.

Fields and properties (10)

  • None

    Nothing.

  • Agent

    Where each agent is, what it is running, and how that is getting on. Category 1.

  • Doing

    What it is doing in detail: the active path, the scored candidates, the plan. Category 2.

  • Why

    Why: a decorator's last answer, a consideration's factor, an unmet condition. Category 3.

  • Data

    Its data: the blackboard, live, and a GOAP agent's world keys. Category 4.

  • Senses

    Its senses: the perceived list, and a line to each thing it can sense. Category 5.

  • Shapes

    The sight cones and hearing radii themselves, in the world. Category 6.

  • Findings

    What AiDiagnosis makes of the recorded log. Category 7.

  • All

    Everything.

  • Default

    What is on when somebody first presses the key: where and what, and the shapes.

Used by (4)

  • AiDebugCategoriesVixen.Ai.Diagnostics
  • AiGameplayDebuggerVixen.Ai.Diagnostics
  • AiOverlayExitCriteriaTestsVixen.Ai.Diagnostics.Tests
  • AiOverlayStyleVixen.Ai.Diagnostics