Vixen
02b45cc4
csharp
public readonly record struct CrowdAgentHandle

An agent in a Crowd.

No guide page documents this yet — the page shows what the code says about itself.

Remarks

Generation-checked for the same reason NavPolyRef is salted: an agent's slot is reused, and a stale handle has to fail rather than steer somebody else's agent.

Fields and properties (4)

  • public int Index

    Its slot.

  • public uint Generation

    Which occupant of that slot it is.

  • public static CrowdAgentHandle Null

    The handle that names no agent.

  • public bool IsNull

    Whether this names no agent.

Methods (1)

  • public CrowdAgentHandle(int Index, uint Generation)

    An agent in a Crowd.

Used by (14)

  • CrowdBenchmarksVixen.Benchmarks.Navigation
  • AgentEnumeratorVixen.Navigation
  • CrowdVixen.Navigation
  • CrowdRetargetTestsVixen.Navigation.Tests
  • CrowdTestsVixen.Navigation.Tests
  • NavMeshDebugDrawVixen.Navigation
  • NavMeshDebugDrawTestsVixen.Navigation.Tests
  • NavPathQueueJobTestsVixen.Navigation.Tests
  • NavPathQueueTestsVixen.Navigation.Tests
  • NavigationAgentVixen.Navigation
  • NavigationAllocationTestsVixen.Navigation.Tests
  • NavigationSystemVixen.Navigation
  • NavigationSystemTestsVixen.Navigation.Tests
  • OffMeshConnectionTestsVixen.Navigation.Tests