Vytvoří novou instanci třídy XSpaceUtility..::.XVertexArrayAdapter3 z kolekce vektorů Vector3 s možností filtrovat vektory nefigurující v kolekci stěn a kolekci vrcholů.
Jmenný prostor:
SGP.XSpaceKnihovna: SGPRTL (v SGPRTL)
Verze: dll
Syntaxe
C# |
---|
public XVertexArrayAdapter3( Vector3[] vertices, int[] faces, int[] faceIndices, int firstFaceIndex, int faceIndexCount ) |
Parametry
- vertices
- Typ: array<
Vector3
>[]()[]
Pole vektorů Vector3, ze kterých bude instance nové kolekce sestavena.
- faces
- Typ: array<
System..::.Int32
>[]()[]
Pole čísel odkazující do pole vertices, které vektory budou použity. Ostatní vektory budou odstraněny.
- faceIndices
- Typ: array<
System..::.Int32
>[]()[]
Pole čísel odkazující do pole faces, které stěny budou použity. Ostatní stěny budou odstraněny.
- firstFaceIndex
- Typ: System..::.Int32
Počáteční pozice první stěny.
- faceIndexCount
- Typ: System..::.Int32
Počet figurujících stěn.
Výjimky
Výjimka | Podmínka |
---|---|
System..::.ArgumentNullException | vertices je nullNothingnullptrnulová reference (Nothing v Visual Basic). |
System..::.ArgumentNullException | faces je nullNothingnullptrnulová reference (Nothing v Visual Basic). |
System..::.ArgumentNullException | faceIndices je nullNothingnullptrnulová reference (Nothing v Visual Basic). |