Vrátí vrcholy meshe vrstvy DirectX Mesh.
Jmenný prostor:
SGP.XSpaceKnihovna: 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ýjimka | Podmínka |
---|---|
System..::.ArgumentNullException | mesh je nullNothingnullptrnulová reference (Nothing v Visual Basic). |
System..::.ArgumentNullException | indices je nullNothingnullptrnulová reference (Nothing v Visual Basic). |