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

Creates a connection set.

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 static ConnectionSet UnsafeCreate(
	Vector3[] verts,
	float[] radii,
	byte[] dirs,
	byte[] areas,
	ushort[] flags,
	uint[] userIds
)
Public Shared Function UnsafeCreate ( _
	verts As Vector3(), _
	radii As Single(), _
	dirs As Byte(), _
	areas As Byte(), _
	flags As UShort(), _
	userIds As UInteger() _
) As ConnectionSet
public:
static ConnectionSet^ UnsafeCreate(
	array<Vector3>^ verts, 
	array<float>^ radii, 
	array<unsigned char>^ dirs, 
	array<unsigned char>^ areas, 
	array<unsigned short>^ flags, 
	array<unsigned int>^ userIds
)

Parameters

verts
array<Vector3>[]()[][]
The connection vertices. [(start, end) * connCount]
radii
array<Single>[]()[][]
The connection radii. [Length: connCount]
dirs
array<Byte>[]()[][]
The connection direction flags. [Length: connCount]
areas
array<Byte>[]()[][]
The connection areas. [Length: connCount]
flags
array<UInt16>[]()[][]
The connection flags. [Length: connCount]
userIds
array<UInt32>[]()[][]
The connection user ids. [Length: connCount]

Return Value

An unsafe connection set.

Remarks

Connection sets created using this method are not guarenteed to be valid or safe for threaded builds.

The generated connection set will directly reference the construction parameters.

See Also