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

Gets the corridor data related to the agent.

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 bool GetCorridor(
	PathCorridorData buffer
)
Public Function GetCorridor ( _
	buffer As PathCorridorData _
) As Boolean
public:
bool GetCorridor(
	PathCorridorData^ buffer
)

Parameters

buffer
PathCorridorData
A buffer to load with the corridor data. (Out) [Length: Maximum Path Size = MarshalBufferSize]

Return Value

True if the data was sucessfully retrieved.

Remarks

Only available after after a CrowdManager update.

Warning: The buffer object must be sized to a maximum path size equal to MarshalBufferSize!

See Also