Copies the vector coordinates to the array, starting at the given array index.

Namespace:  SGP.XSpace
Assembly:  SGPRTL (in SGPRTL.dll)
Version: 1.2.3019.18825

Syntax

C#
public static void Vector3ToArray(
	Vector3 value,
	float[] array,
	int index
)

Parameters

value
Type: Vector3
Source Vector3 vector.
array
Type: array< System..::.Single >[]()[]
The target array of the Single type.
index
Type: System..::.Int32
Defines the starting index in the array, where the vector components will be copied.

Exceptions

ExceptionCondition
System..::.ArgumentNullException array is nullNothingnullptra null reference (Nothing in Visual Basic).

See Also