Returns the DirectX layer Mesh mesh vertices using the normal filtering.
Namespace:
SGP.XSpaceAssembly: SGPRTL (in SGPRTL.dll)
Version: 1.2.3019.18825
Syntax
C# |
---|
public static Vector3[] GetMeshNormals( Mesh mesh, int[] indices ) |
Parameters
- mesh
- Type: Mesh
The DirectX layer Mesh mesh.
- indices
- Type: array<
System..::.Int32
>[]()[]
Array of index numbers for vertices whose normals should be returned.
Return Value
Returns the mesh normals 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). |