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

Obtains a copy of the corridor path.

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 int GetPath(
	uint[] buffer
)
Public Function GetPath ( _
	buffer As UInteger() _
) As Integer
public:
int GetPath(
	array<unsigned int>^ buffer
)

Parameters

buffer
array<UInt32>[]()[][]
The buffer to load with the result. [(polyRef) * pathCount]

Return Value

The number of polygons in the path.

Remarks

The buffer should be sized to hold the entire path. (See: GetPathCount()()()() and MaxPathSize.)

See Also