public readonly record struct QueryPreviewStyleHow a query's points are drawn.
Remarks
⚠ default is the quiet style, for the reason AiOverlayStyle's remarks give: a struct's property initialisers do not run for default, so a zeroed style draws nothing at all. Default is the usual one and it is new().
Fields and properties (10)
public const float DefaultSizeHow big a point's marker is, in metres.
public static QueryPreviewStyle DefaultThe usual style.
public float SizeHow big a point's marker is, in metres. Zero means the usual.
public bool RejectedWhether the points a filter rejected are drawn at all.
public bool ScoresWhether each surviving point is labelled with its score.
public bool WinnerWhether the winner gets a ring around it.
public Color4 WorstThe colour of a point that scored nothing.
public Color4 BestThe colour of a point that scored one.
public Color4 FilteredThe colour of a point a filter rejected.
public float ExtentHow big a marker actually is, with a zeroed style answering the usual size.
Methods (2)
public QueryPreviewStyle()Creates the usual style.
public Color4 ColourOf(float score)What colour a score reads as.
Used by (2)
- QueryPreviewVixen.Ai.Diagnostics
- QueryPreviewTestsVixen.Ai.Diagnostics.Tests