# GetIndexStart

> Gets the starting index location within the Mesh's index buffer, for the given /sub-mesh/.

## Definition

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

## GetIndexStart(int)

Gets the starting index location within the Mesh's index buffer, for the given /sub-mesh/.

```csharp
public uint GetIndexStart(int submesh)
```

### Parameters

**** (\[int]\(https\://learn.microsoft.com/dotnet/api/system.int32)):&#x20;

### Returns

| Type                                                         | Description |
| ------------------------------------------------------------ | ----------- |
| [uint](https://learn.microsoft.com/dotnet/api/system.uint32) |             |

### Remarks

Additional Resources: [Mesh.SetIndices](/engine/6000.7/script-reference/unityengine/mesh/setindices.md), [Mesh.GetIndexCount](/engine/6000.7/script-reference/unityengine/mesh/getindexcount.md).

## GetIndexStart(int, int)

Gets the starting index location within the Mesh's index buffer, for the given /sub-mesh/ and level of detail.

```csharp
public uint GetIndexStart(int submesh, int meshLod)
```

### Parameters

**** (\[int]\(https\://learn.microsoft.com/dotnet/api/system.int32)): **** (\[int]\(https\://learn.microsoft.com/dotnet/api/system.int32)):&#x20;

### Returns

| Type                                                         | Description |
| ------------------------------------------------------------ | ----------- |
| [uint](https://learn.microsoft.com/dotnet/api/system.uint32) |             |
