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

Sets the specified resources and resets the corridor.

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 static bool LoadLocals(
	PathCorridor corridor,
	NavmeshPoint position,
	NavmeshQuery query,
	NavmeshQueryFilter filter
)
Public Shared Function LoadLocals ( _
	corridor As PathCorridor, _
	position As NavmeshPoint, _
	query As NavmeshQuery, _
	filter As NavmeshQueryFilter _
) As Boolean
public:
static bool LoadLocals(
	PathCorridor^ corridor, 
	NavmeshPoint position, 
	NavmeshQuery^ query, 
	NavmeshQueryFilter^ filter
)

Parameters

corridor
PathCorridor
The corridor to update.
position
NavmeshPoint
The position to reset to corridor to.
query
NavmeshQuery
The query object to use.
filter
NavmeshQueryFilter
The filter object to use.

Return Value

True if successful.

Remarks

This method is useful when pooling path corridors for use by mulitple clients.

See Reset(NavmeshPoint) for information on the effect of the reset.

Existing references will be replaced by the new references.

This method cannot be used to set references to null. Attempting to do so will result in a failure.

See Also