[This is preliminary documentation and is subject to change.]

Gets the agent associated with the specified neighbor.

Namespace: org.critterai.nav
Assembly: cai-nav (in cai-nav.dll) Version: 0.4.0.0 (0.4.0.0)

Syntax

         
 C#  Visual Basic  Visual C++ 
public CrowdAgent GetNeighbor(
	CrowdNeighbor neighbor
)
Public Function GetNeighbor ( _
	neighbor As CrowdNeighbor _
) As CrowdAgent
public:
CrowdAgent^ GetNeighbor(
	CrowdNeighbor neighbor
)

Parameters

neighbor
CrowdNeighbor
The agent neighbor data.

Return Value

The agent associated with the neighbor data, or null on error.

See Also