Vixen
02b45cc4
csharp
public readonly record struct WeightedFacet

A facet a query would like, and how much it is worth.

No guide page documents this yet — the page shows what the code says about itself.

Remarks

⚠ A negative weight is legal and useful. "Anything but a crouch" is a preference, not a prohibition, and expressing it as a hard requirement on the absence of a facet would make the query fail entirely on a set where every candidate crouches.

Fields and properties (2)

  • public Facet Facet

    The fact.

  • public float Weight

    What matching it contributes to the score.

Methods (1)

  • public WeightedFacet(Facet Facet, float Weight)

    A facet a query would like, and how much it is worth.

Used by (7)

  • MoveSelectionBenchmarksVixen.Benchmarks.Animation
  • DefaultMoveScorerVixen.Animation
  • MoveExplanationsVixen.Animation
  • MoveQueryVixen.Animation
  • MoveSetTestsVixen.Animation.Tests
  • MoveQueryTextVixen.Editor.AssetEditors
  • MoveSetTestsVixen.Editor.AssetEditors.Tests