# GetFaceIndex(int)

> Get the index of a face a particular contact point belongs to in this contact pair. Use this with Mesh.triangles.

## Definition

* **Type:** Method
* **Namespace:** [UnityEngine](/engine/6000.6/script-reference/unityengine.md)
* **Assembly:** UnityEngine.PhysicsModule

```csharp
public uint GetFaceIndex(int i)
```

### Parameters

**** (\[int]\(https\://learn.microsoft.com/dotnet/api/system.int32)): Index of the contact point.

### Returns

| Type                                                         | Description                                    |
| ------------------------------------------------------------ | ---------------------------------------------- |
| [uint](https://learn.microsoft.com/dotnet/api/system.uint32) | Index of a face this contact point belongs to. |

### Remarks

Only valid if one of the colliders in this pair is a non-convex MeshCollider. In this case, that collider will always be the second shape of the pair. A value of 0xffffFFFF indicates an error, which could be none of the Colliders were non-convex MeshColliders, or that the contact point index was out of bounds.
