Click or drag to resize

DtCrowdAddNeighbour Method


Namespace: NeoAxis.DotRecast.Detour.Crowd
Assembly: NeoAxis.Core (in NeoAxis.Core.dll) Version: 2026.2.1.0 (2026.2.1.0)
Syntax
C#
public static int AddNeighbour(
	DtCrowdAgent idx,
	float dist,
	Span<DtCrowdNeighbour> neis,
	int nneis,
	int maxNeis
)

Parameters

idx  DtCrowdAgent
 
dist  Single
 
neis  SpanDtCrowdNeighbour
 
nneis  Int32
 
maxNeis  Int32
 

Return Value

Int32
See Also