Vixen
02b45cc4
csharp
public readonly record struct CrowdAgentState

Everything 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 Position

    Where it is, on the mesh.

  • public Vector3 Velocity

    How it is moving.

  • public Vector3 DesiredVelocity

    How it wanted to move, before avoidance had its say.

  • public NavPolyRef Poly

    The polygon it is standing on.

  • public Vector3 Target

    Where it was told to go.

  • public CrowdTargetState State

    How that is going.

  • public CrowdOffMeshTraversal? OffMesh

    What 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)

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