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

Sets the area of the specified polygon.

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 SetPolyArea(
	uint polyRef,
	byte area
)
Public Function SetPolyArea ( _
	polyRef As UInteger, _
	area As Byte _
) As NavStatus
public:
NavStatus SetPolyArea(
	unsigned int polyRef, 
	unsigned char area
)

Parameters

polyRef
UInt32
The reference of the polygon.
area
Byte
The area of the polygon. [Limit: <= MaxArea]

Return Value

The NavStatus flags for the operation.

See Also