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