EQTraceMode

Type description and basic instructions.

Description

EQTraceMode is base abstract class for all environment query trace modes.

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

To create a environment query trace mode you should inherit from EQTraceMode class and implement logic that is described below.

TryTracePosition

When inheriting from EQTraceMode you have to override TryTracePosition method.

public class ExampleEQTraceMode : EQTraceMode
{
    public override IEnumerable<Vector3> TryTracePosition(Vector3 point)
    {
        throw new System.NotImplementedException();
    }
}
  • TryTracePosition returns position of traced point.

  • TryTracePosition gets called when Environment Query object generates items.

Last updated