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

Gets the height of the polygon at the provided point using the detail mesh. (Most accurate.)

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 NavStatus GetPolyHeight(
	NavmeshPoint point,
	out float height
)
Public Function GetPolyHeight ( _
	point As NavmeshPoint, _
	<OutAttribute> ByRef height As Single _
) As NavStatus
public:
NavStatus GetPolyHeight(
	NavmeshPoint point, 
	[OutAttribute] float% height
)

Parameters

point
NavmeshPoint
The point within the polygon's xz-column.
height
Single%
The height at the surface of the polygon.

Return Value

The NavStatus flags for the query.

Remarks

The method will return falure if the provided point is outside the xz-column of the polygon.

See Also