Creates new XSpaceUtility..::.XVertexArrayAdapter3 class instance from the Vector3 vector collection with the possibility of filtering the vectors not contained in the faces collection.
Namespace:
SGP.XSpaceAssembly: SGPRTL (in SGPRTL.dll)
Version: 1.2.3019.18825
Syntax
C# |
---|
public XVertexArrayAdapter3( Vector3[] vertices, int[] faces, int[] faceIndices, int firstFaceIndex, int faceIndexCount ) |
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.
- firstFaceIndex
- Type: System..::.Int32
Index of the first face.
- faceIndexCount
- Type: System..::.Int32
Number of faces to be used.
Exceptions
Exception | Condition |
---|---|
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). |