# SetLODSettings(float, int, bool)

> Sets the lodBias and maximumLODLevel at the same time.

## Definition

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

```csharp
public static void SetLODSettings(float lodBias, int maximumLODLevel, bool setDirty = true)
```

### Parameters

**** (\[float]\(https\://learn.microsoft.com/dotnet/api/system.single)): Global multiplier for the LOD's switching distance.**** (\[int]\(https\://learn.microsoft.com/dotnet/api/system.int32)): A maximum LOD level. All LOD groups.**** (\[bool]\(https\://learn.microsoft.com/dotnet/api/system.boolean)): If true, marks all views as dirty.

### Remarks

If you pass in `true` for the `setDirty` parameter, Unity refreshes all views.

Additional Resources: [QualitySettings.lodBias](/engine/6000.7/script-reference/unityengine/qualitysettings/lodbias.md), [QualitySettings.maximumLODLevel](/engine/6000.7/script-reference/unityengine/qualitysettings/maximumlodlevel.md).
