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

Returns true if the polygon reference is valid and passes the filter restrictions.

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 IsValidPolyRef(
	uint polyRef,
	NavmeshQueryFilter filter
)
Public Function IsValidPolyRef ( _
	polyRef As UInteger, _
	filter As NavmeshQueryFilter _
) As Boolean
public:
bool IsValidPolyRef(
	unsigned int polyRef, 
	NavmeshQueryFilter^ filter
)

Parameters

polyRef
UInt32
The polygon reference.
filter
NavmeshQueryFilter
The filter to apply to the query.

Return Value

True if the polygon reference is valid and passes the filter restrictions.

See Also