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

Creates an array of vectors from the provided navmesh points.

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 Vector3[] GetPoints(
	NavmeshPoint[] source,
	int sourceIndex,
	Vector3[] target,
	int targetIndex,
	int count
)
Public Shared Function GetPoints ( _
	source As NavmeshPoint(), _
	sourceIndex As Integer, _
	target As Vector3(), _
	targetIndex As Integer, _
	count As Integer _
) As Vector3()
public:
static array<Vector3>^ GetPoints(
	array<NavmeshPoint>^ source, 
	int sourceIndex, 
	array<Vector3>^ target, 
	int targetIndex, 
	int count
)

Parameters

source
array<NavmeshPoint>[]()[][]
The source array.
sourceIndex
Int32
The start of the copy in the source.
target
array<Vector3>[]()[][]
The target of the copy. (Optional)
targetIndex
Int32
The start copy location within the target.
count
Int32
The number of vectors to copy.

Return Value

An array containing the copied vectors. (A reference to target if it was non-null.)

Remarks

A new array will be created if the target array is null.

See Also