---
title: GetLod(int, int)
product: Unity Editor
version: '6000.3'
latest_version: '7000.0'
status: This page documents version 6000.3. The latest version is 7000.0.
canonical: https://docs.unity.com/en-us/engine/6000.3/script-reference/unityengine/mesh/meshdata/getlod
latest_url: https://docs.unity.com/en-us/engine/7000.0/script-reference/unityengine/mesh/meshdata/getlod.md
last_updated: 2026-09-14
generated_at: 2026-11-18T08:45:24.398Z
locale: en-us
---

# GetLod(int, int)

> Gets a Mesh LOD range (index start and index count) for a given Mesh LOD.

## Definition

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

```csharp
public MeshLodRange GetLod(int submesh, int level)
```

### Parameters

**** (\[int]\(https\://learn.microsoft.com/dotnet/api/system.int32)): Sub-mesh index to get LOD from.**** (\[int]\(https\://learn.microsoft.com/dotnet/api/system.int32)): Level of detail to get range for.

### Returns

| Type                                                                        | Description                                    |
| --------------------------------------------------------------------------- | ---------------------------------------------- |
| [MeshLodRange](/engine/6000.3/script-reference/unityengine/meshlodrange.md) | Index range for the requested level of detail. |
