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

Constructor.

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 OffMeshConnection(
	Vector3 start,
	Vector3 end,
	float radius,
	bool isBidDrectional,
	byte area,
	ushort flags,
	uint userId
)
Public Sub New ( _
	start As Vector3, _
	end As Vector3, _
	radius As Single, _
	isBidDrectional As Boolean, _
	area As Byte, _
	flags As UShort, _
	userId As UInteger _
)
public:
OffMeshConnection(
	Vector3 start, 
	Vector3 end, 
	float radius, 
	bool isBidDrectional, 
	unsigned char area, 
	unsigned short flags, 
	unsigned int userId
)

Parameters

start
Vector3
The start point.
end
Vector3
The end point.
radius
Single
The radius of the start and end points. [Limit: >0]
isBidDrectional
Boolean
True if the connection is bi-directional.
area
Byte
The area. [Limit: <= MaxArea].
flags
UInt16
The connection flags.
userId
UInt32
The id of the off-mesh connection. (User defined.)

See Also