csharp
public readonly record struct CrowdAgentStateEverything about an agent that a caller reads back.
No guide page documents this yet — the page shows what the code says about itself.
Fields and properties (7)
public Vector3 PositionWhere it is, on the mesh.
public Vector3 VelocityHow it is moving.
public Vector3 DesiredVelocityHow it wanted to move, before avoidance had its say.
public NavPolyRef PolyThe polygon it is standing on.
public Vector3 TargetWhere it was told to go.
public CrowdTargetState StateHow that is going.
public CrowdOffMeshTraversal? OffMeshWhat it is in the middle of, if it is crossing an off-mesh connection. This is what a game watches to play a ladder or a jump: it appears the frame the agent leaves the ground and stops the frame it lands.
Methods (1)
public CrowdAgentState(Vector3 Position, Vector3 Velocity, Vector3 DesiredVelocity, NavPolyRef Poly, Vector3 Target, CrowdTargetState State, CrowdOffMeshTraversal? OffMesh = null)Everything about an agent that a caller reads back.
Used by (10)
- CrowdBenchmarksVixen.Benchmarks.Navigation
- CrowdVixen.Navigation
- CrowdRetargetTestsVixen.Navigation.Tests
- CrowdTestsVixen.Navigation.Tests
- NavMeshDebugDrawVixen.Navigation
- NavPathQueueJobTestsVixen.Navigation.Tests
- NavPathQueueTestsVixen.Navigation.Tests
- NavigationAllocationTestsVixen.Navigation.Tests
- NavigationSystemVixen.Navigation
- OffMeshConnectionTestsVixen.Navigation.Tests