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.XSpace
Knihovna:  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ýjimkaPodmínka
System..::.ArgumentNullExceptionvertices je nullNothingnullptrnulová reference (Nothing v Visual Basic).
System..::.ArgumentNullExceptionfaces je nullNothingnullptrnulová reference (Nothing v Visual Basic).
System..::.ArgumentNullExceptionfaceIndices je nullNothingnullptrnulová reference (Nothing v Visual Basic).

Podívat se také na