csharp
public static class QueryGeneratorsThe generators that ship.
Remarks
Six of doc 37 § P8's seven. The seventh — entities with a component — needs to know where an entity is, which is Vixen.Engine's, so it lives in Vixen.Ai.Nodes beside the other nodes that touch the world.
Fields and properties (1)
public const int MaximumPointsHow many points a generator may make, whatever its parameters say.
Methods (7)
public static IQueryGenerator Grid(float extent = 10, float spacing = 1, bool aroundQuerier = true)A square grid of points on the ground, centred on the origin.
public static IQueryGenerator Circle(float radius = 5, int count = 16, bool aroundQuerier = false)A ring of points at a fixed radius.
public static IQueryGenerator Donut(float inner = 3, float outer = 8, int rings = 3, int perRing = 12, bool aroundQuerier = false)Rings of points between two radii — the shape a "stand near but not on top of" wants.
public static IQueryGenerator Cone(float degrees = 90, float radius = 8, int arcs = 3, int perArc = 7)A fan of points in front of the agent, aimed at the context.
public static IQueryGenerator CurrentLocation()The one point the agent is already standing on.
public static IQueryGenerator Composite(params IQueryGenerator[] generators)Every point of several generators, in order.
public static bool Room(List<QueryPoint> points)Whether a generator may add another point.
Used by (15)
- CompositeGeneratorVixen.Ai
- ConeGeneratorVixen.Ai
- CurrentLocationGeneratorVixen.Ai
- DonutGeneratorVixen.Ai
- EntityGeneratorVixen.Ai.Nodes
- EnvironmentQueryVixen.Ai
- GridGeneratorVixen.Ai
- QueryContentCompilerVixen.Ai
- QueryContentTestsVixen.Ai.Tests
- QueryGeneratorTestsVixen.Ai.Tests
- QueryPreviewTestsVixen.Ai.Diagnostics.Tests
- QueryScorerExitCriteriaTestsVixen.Ai.Tests
- QueryTestPurposeTestsVixen.Ai.Tests
- RunQueryNodeTestsVixen.Ai.Nodes.Tests
- WorldQueryTestsVixen.Ai.Nodes.Tests