Vixen
caa30e12
csharp
public readonly record struct QueryOrigin

Where a query's candidates are measured from.

Read the guide page for this →

Remarks

⚠ The querier and the context are two things, and Unreal calls them that for a reason. "Points around me, scored by distance to the enemy" needs both, and a generator that only knew the agent could not express the commonest cover query there is.

Fields and properties (5)

  • public Vector3 Querier

    Where the agent is.

  • public Vector3 Context

    What the query is about — the target, the objective, the noise.

  • public bool HasContext

    Whether means anything.

  • public Entity ContextEntity

    The entity the context came from, if it came from one.

  • public Vector3 Around

    The context if there is one, and the querier otherwise.

Methods (1)

  • public QueryOrigin(Vector3 Querier, Vector3 Context, bool HasContext = false, Entity ContextEntity = default(Entity))

    Where a query's candidates are measured from.

Used by (26)

  • CompositeGeneratorVixen.Ai
  • ConeGeneratorVixen.Ai
  • CurrentLocationGeneratorVixen.Ai
  • DelegateQueryTestVixen.Ai
  • DistanceQueryTestVixen.Ai
  • DonutGeneratorVixen.Ai
  • DotQueryTestVixen.Ai
  • EntityGeneratorVixen.Ai.Nodes
  • EnvironmentQueryVixen.Ai
  • GridGeneratorVixen.Ai
  • IQueryGeneratorVixen.Ai
  • IQueryTestVixen.Ai
  • OverlapQueryTestVixen.Ai.Nodes
  • PathQueryTestVixen.Ai.Nodes
  • ProjectQueryTestVixen.Ai.Nodes
  • QueryContentTestsVixen.Ai.Tests
  • QueryGeneratorTestsVixen.Ai.Tests
  • QueryPreviewTestsVixen.Ai.Diagnostics.Tests
  • QueryRunnerVixen.Ai.Nodes
  • QueryScorerExitCriteriaTestsVixen.Ai.Tests
  • QueryTestVixen.Ai
  • QueryTestPurposeTestsVixen.Ai.Tests
  • RunQueryNodeTestsVixen.Ai.Nodes.Tests
  • TraceQueryTestVixen.Ai.Nodes
  • UnresolvedVixen.Ai
  • QueryDocumentVixen.Editor.AssetEditors