csharp
public static class QueryPreviewDraws the points an environment query produced: green through red by score, with the ones a filter rejected crossed out.
Remarks
doc 37 § Part 5's environment-query preview — Unreal's testing pawn, minus the pawn. It takes a QueryResults and nothing else, so the same call draws the editor's preview run and a running agent's last query with no second implementation between them.
⚠ Lines and labels, so it is asserted by a test with no window — the same bargain AiGameplayDebugger makes and the reason both of them live here rather than in the editor.
Methods (1)
public static int Draw(DebugDraw draw, QueryResults results, QueryPreviewStyle style = default(QueryPreviewStyle))Draws a run.
Used by (1)
- QueryPreviewTestsVixen.Ai.Diagnostics.Tests