Returns the DirectX layer Mesh mesh vertex at the given index.
Namespace:
SGP.XSpaceAssembly: SGPRTL (in SGPRTL.dll)
Version: 1.2.3019.18825
Syntax
C# |
---|
public static Vector3 GetMeshVertex( Mesh mesh, int index ) |
Parameters
- mesh
- Type: Mesh
The source DirectX layer Mesh mesh.
- index
- Type: System..::.Int32
The requested vertex number.
Return Value
Returns the Vector3 vertex from the Mesh mesh at the given index.
Exceptions
Exception | Condition |
---|---|
System..::.ArgumentNullException | mesh is nullNothingnullptra null reference (Nothing in Visual Basic). |