UnwrapParam Struct

Unwrapping settings.

Note: This is an editor class. To use it you have to place your script in Assets/Editor inside your project folder. Editor classes are in the UnityEditor namespace so for C# scripts you need to add "using UnityEditor;" at the beginning of the script.

Use them only if you fully understand what they mean.

Variables
angleError

Maximum allowed angle distortion (0..1).

areaError

Maximum allowed area distortion (0..1).

hardAngle

This angle (or greater) between triangles will cause seam to be created.

packMargin

How much uv-islands will be padded.

Class Functions
SetDefaults

Will set default values for params.