Creates new XSpaceUtility..::.XVertexArrayAdapter2 class instance from the Vector3 vector collection with the possibility of filtering the vectors not contained in the faces collection.

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

Syntax

C#
public XVertexArrayAdapter(
	Vector3[] vertices,
	int[] faces
)

Parameters

vertices
Type: array< Vector3 >[]()[]
The Vector3 vector array that the new collection instance will be made up from.
faces
Type: array< System..::.Int32 >[]()[]
The array of numbers referencing to the vertices, specifying vectors that will be used. All other vectors will be removed.

Exceptions

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

See Also