API Referenceglobal
public sealed struct Sandbox.NavMeshAgent.LinkTraversalData
Holds information about the current link the agent is traversing.
Related Guides
Broader workflow and conceptual references connected to this API.
Properties
Showing 4 properties
public Vector3 Sandbox.NavMeshAgent.LinkTraversalData.AgentInitialPosition { get; set; }
The position at which the agent entered the link.
public Sandbox.NavMeshLink Sandbox.NavMeshAgent.LinkTraversalData.LinkComponent { get; set; }
The Link component that the agent is traversing. May be null if the agent is traversing a link created without a NavMeshLink component.
public Vector3 Sandbox.NavMeshAgent.LinkTraversalData.LinkEnterPosition { get; set; }
The start position of the traversal. Depending on the direction traversing, this is either LinkComponent.WorldStartPositionOnNavMesh or LinkComponent.WorldEndPositionOnNavMesh.
public Vector3 Sandbox.NavMeshAgent.LinkTraversalData.LinkExitPosition { get; set; }
The end position of the traversal. Where the agent should exit. Depending on the direction traversing, this is either LinkComponent.WorldStartPositionOnNavMesh or LinkComponent.WorldEndPositionOnNavMesh.
No results match this filter.
Metadata
| Field | Value |
|---|---|
| Namespace | global |
| Type | class |
| Assembly | Sandbox.Engine |
| Doc ID | T:Sandbox.NavMeshAgent.LinkTraversalData |