EQGenerator

Type description and basic instructions.

Description

EQGenerator is base abstract class for all environment query generators.

Generators are used to define shape of area that is covered by EQS.

To create a environment query generator you should inherit from EQGenerator class and implement logic that is described below.

GeneratePoints

When inheriting from EQGenerator you have to override GeneratePoints method.

public class ExampleEQGenerator : EQGenerator
{
    public override IEnumerable<Vector3> GeneratePoints()
    {
        throw new System.NotImplementedException();
    }
}
  • GeneratePoints returns positions of all generated points.

  • GeneratePoints gets called when Environment Query object generates items.

Last updated