Returns the DirectX layer Mesh mesh face faceIndex vertices.
Namespace:
SGP.XSpaceAssembly: SGPRTL (in SGPRTL.dll)
Version: 1.2.3019.18825
Syntax
C# |
---|
public static Vector3[] GetMeshFaceVertices( Mesh mesh, int faceIndex ) |
Parameters
- mesh
- Type: Mesh
The source DirectX layer Mesh mesh.
- faceIndex
- Type: System..::.Int32
Face number.
Return Value
Returns the vertices collection for the face number faceIndex.
Exceptions
Exception | Condition |
---|---|
System..::.ArgumentNullException | mesh is nullNothingnullptra null reference (Nothing in Visual Basic). |