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

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

Syntax

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

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.
faceIndices
Type: array< System..::.Int32 >[]()[]
The array of numbers referencing to the faces, specifying faces that will be used. All other faces 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).
System..::.ArgumentNullException faceIndices is nullNothingnullptra null reference (Nothing in Visual Basic).

See Also