Returns the DirectX layer Mesh mesh vertices.
Namespace:
SGP.XSpaceAssembly: SGPRTL (in SGPRTL.dll)
Version: 1.2.3019.18825
Syntax
C# |
---|
public static Vector3[] GetMeshVertices( Mesh mesh, int[] indices ) |
Parameters
- mesh
- Type: Mesh
The source DirectX layer Mesh mesh.
- indices
- Type: array<
System..::.Int32
>[]()[]
Indices of the vertices.
Return Value
Returns the Vector3 vertex array.
Exceptions
Exception | Condition |
---|---|
System..::.ArgumentNullException | mesh is nullNothingnullptra null reference (Nothing in Visual Basic). |
System..::.ArgumentNullException | indices is nullNothingnullptra null reference (Nothing in Visual Basic). |