csharp
public readonly record struct CrowdAgentHandleAn 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 IndexIts slot.
public uint GenerationWhich occupant of that slot it is.
public static CrowdAgentHandle NullThe handle that names no agent.
public bool IsNullWhether 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