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

Flattens the vector array into a float array in the form (x, y, z) * vertCount.

Namespace: org.critterai
Assembly: cai-util (in cai-util.dll) Version: 0.5.0.0 (0.5.0.0)

Syntax

         
 C#  Visual Basic  Visual C++ 
public static float[] Flatten(
	Vector3[] vectors,
	int count
)
Public Shared Function Flatten ( _
	vectors As Vector3(), _
	count As Integer _
) As Single()
public:
static array<float>^ Flatten(
	array<Vector3>^ vectors, 
	int count
)

Parameters

vectors
array<Vector3>[]()[][]
An array of vectors.
count
Int32
The number of vectors.

Return Value

An array of flattened vectors.

See Also