Vixen
c7401864
csharp
public readonly record struct PerceptionParticipant

One end of a perception test: who, on whose side, and where.

Read the guide page for this →

Remarks

Symmetric on purpose: a filter is given the same three facts about the listener and about the source, so "only hostiles", "only my own team" and "everything except my owner" are all one comparison rather than three different shapes of lookup.

Fields and properties (3)

  • public Entity Entity

    Which entity.

  • public byte Team

    Which side it is on.

  • public Vector3 Position

    Where it is, in world space, before either height offset is applied.

Methods (1)

  • public PerceptionParticipant(Entity Entity, byte Team, Vector3 Position)

    One end of a perception test: who, on whose side, and where.

Used by (6)

  • DelegatePerceptionFilterVixen.Ai.Perception
  • EveryonePerceptionFilterVixen.Ai.Perception
  • FilterTestsVixen.Ai.Perception.Tests
  • IPerceptionFilterVixen.Ai.Perception
  • PerceptionSystemVixen.Ai.Perception
  • TeamPerceptionFilterVixen.Ai.Perception