Vrátí vrcholy meshe vrstvy DirectX Mesh.

Jmenný prostor:  SGP.XSpace
Knihovna:  SGPRTL (v SGPRTL)
Verze: dll

Syntaxe

C#
public static Vector3[] GetMeshVertices(
	Mesh mesh,
	int[] indices
)

Parametry

mesh
Typ: Mesh
Zdrojová mesh vrstvy DirectX Mesh.
indices
Typ: array< System..::.Int32 >[]()[]
Indexy zjišťovaných vrcholů.

Návratová hodnota

Vrátí pole vrcholů Vector3.

Výjimky

VýjimkaPodmínka
System..::.ArgumentNullExceptionmesh je nullNothingnullptrnulová reference (Nothing v Visual Basic).
System..::.ArgumentNullExceptionindices je nullNothingnullptrnulová reference (Nothing v Visual Basic).

Podívat se také na