# SetTextureMipmapLimitSettings(string, TextureMipmapLimitSettings)

> Applies new TextureMipmapLimitSettings to the indicated texture mipmap limit group.

## Definition

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

```csharp
public static void SetTextureMipmapLimitSettings(string groupName, TextureMipmapLimitSettings textureMipmapLimitSettings)
```

### Parameters

**** (\[string]\(https\://learn.microsoft.com/dotnet/api/system.string)): Name of the texture mipmap limit group to modify.**** (\[TextureMipmapLimitSettings]\(/engine/6000.3/script-reference/unityengine/texturemipmaplimitsettings)): The new texture mipmap limit settings to apply.

### Remarks

Throws an exception if Unity cannot find `groupName`.

At run time, if [TextureMipmapLimitSettings.limitBias](/engine/6000.3/script-reference/unityengine/texturemipmaplimitsettings/limitbias.md) corresponds to a mip level that has been stripped, Unity sets the value to the closest mip level that has not been stripped. For additional information regarding mipmap stripping, see [PlayerSettings.mipStripping](/engine/6000.3/script-reference/unityeditor/playersettings/mipstripping.md).

Additional Resources: [TextureMipmapLimitSettings](/engine/6000.3/script-reference/unityengine/texturemipmaplimitsettings.md), [QualitySettings.GetTextureMipmapLimitSettings](/engine/6000.3/script-reference/unityengine/qualitysettings/gettexturemipmaplimitsettings.md).
