# UnwrapParam

> Unwrapping settings.

## Definition

* **Type:** Struct
* **Namespace:** [UnityEditor](/engine/6000.7/script-reference/unityeditor.md)
* **Assembly:** UnityEditor.CoreModule

```csharp
public struct UnwrapParam
```

## Remarks

Allows you control over the parameters of the automatic UV [Unwrapping](/engine/6000.7/script-reference/unityeditor/unwrapping.md) feature. Use this if you want to override the default unwrap settings.

## Fields

| Value                                                                               | Description                                                                         |
| ----------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------- |
| [angleError](/engine/6000.7/script-reference/unityeditor/unwrapparam/angleerror.md) | Maximum allowed angle distortion (0..1).                                            |
| [areaError](/engine/6000.7/script-reference/unityeditor/unwrapparam/areaerror.md)   | Maximum allowed area distortion (0..1).                                             |
| [hardAngle](/engine/6000.7/script-reference/unityeditor/unwrapparam/hardangle.md)   | This angle (in degrees) or greater between triangles will cause seam to be created. |
| [packMargin](/engine/6000.7/script-reference/unityeditor/unwrapparam/packmargin.md) | How much uv-islands will be padded.                                                 |

## Static Methods

| Method                                                                                | Description                         |
| ------------------------------------------------------------------------------------- | ----------------------------------- |
| [SetDefaults](/engine/6000.7/script-reference/unityeditor/unwrapparam/setdefaults.md) | Will set default values for params. |
