Legacy Documentation: Version 5.4
LanguageEnglish
  • C#
  • JS

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

UnwrapParam

struct in UnityEditor

Description

Unwrapping settings.

Allows you control over the parameters of the automatic UV Unwrapping feature. Use this if you want to override the default unwrap settings.

Variables

angleErrorMaximum allowed angle distortion (0..1).
areaErrorMaximum allowed area distortion (0..1).
hardAngleThis angle (in degrees) or greater between triangles will cause seam to be created.
packMarginHow much uv-islands will be padded.

Static Functions

SetDefaultsWill set default values for params.