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

Add a connection.

Namespace: org.critterai.nmbuild
Assembly: cai-nmbuild (in cai-nmbuild.dll) Version: 0.4.0.0 (0.4.0.0)

Syntax

         
 C#  Visual Basic  Visual C++ 
public void Add(
	Vector3 start,
	Vector3 end,
	float radius,
	bool isBidirectional,
	byte area,
	ushort flags,
	uint userId
)
Public Sub Add ( _
	start As Vector3, _
	end As Vector3, _
	radius As Single, _
	isBidirectional As Boolean, _
	area As Byte, _
	flags As UShort, _
	userId As UInteger _
)
public:
void Add(
	Vector3 start, 
	Vector3 end, 
	float radius, 
	bool isBidirectional, 
	unsigned char area, 
	unsigned short flags, 
	unsigned int userId
)

Parameters

start
Vector3
The connection start point.
end
Vector3
The connection end point.
radius
Single
The radius of the connection vertices.
isBidirectional
Boolean
True if the connection can be traversed in both directions. (Start to end, end to start.)
area
Byte
The connection area id.
flags
UInt16
The connection flags.
userId
UInt32
The connection user id.

Remarks

All values are auto-clamped to valid values.

See Also