Vixen
caa30e12
csharp
public readonly record struct QueryPreviewStyle

How a query's points are drawn.

Read the guide page for this →

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 DefaultSize

    How big a point's marker is, in metres.

  • public static QueryPreviewStyle Default

    The usual style.

  • public float Size

    How big a point's marker is, in metres. Zero means the usual.

  • public bool Rejected

    Whether the points a filter rejected are drawn at all.

  • public bool Scores

    Whether each surviving point is labelled with its score.

  • public bool Winner

    Whether the winner gets a ring around it.

  • public Color4 Worst

    The colour of a point that scored nothing.

  • public Color4 Best

    The colour of a point that scored one.

  • public Color4 Filtered

    The colour of a point a filter rejected.

  • public float Extent

    How 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