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

Tests that vector interop behaves as expected for vector arrays.

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 static void TestVectorArray(
	Vector3[] vectors,
	int vectorCount,
	Vector3[] result
)
Public Shared Sub TestVectorArray ( _
	vectors As Vector3(), _
	vectorCount As Integer, _
	result As Vector3() _
)
public:
static void TestVectorArray(
	array<Vector3>^ vectors, 
	int vectorCount, 
	array<Vector3>^ result
)

Parameters

vectors
array<Vector3>[]()[][]
The input vector array. [Length: >= vectorCount]
vectorCount
Int32
The number of vectors in the array.
result
array<Vector3>[]()[][]
The array to load the result into. [Length: >= vectorCount]

Remarks

If the test is successful the input and result arrays will be equal in length and element values. (E.g. vectors[i] == result[i])

This method is used to validate that builds using custom vectors behaves correctly with interop. (I.e. The custom vector is data compatible.)

See Also