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.
 注意:这是一个编辑器类,如果想使用它你需要把它放到工程目录下的Assets/Editor文件夹下。编辑器类在UnityEditor命名空间下。所以当使用C#脚本时,你需要在脚本前面加上 "using UnityEditor"引用。

Use them only if you fully understand what they mean

Variables变量

  • angleError
    maximum allowed angle distortion (0..1)
       允许的最大角度变形(0...1)。
  • areaError
    maximum allowed area distortion (0..1)
       允许的最大区域变形(0...1)。
  • hardAngle
    this angle (or greater) between triangles will cause seam to be created
       三角形之间角,会导致创建接缝。
  • packMargin
    how much uv-islands will be padded
       uv-islands之间将有多少边距。

Class Functions类函数

  • SetDefaults
    Will set default values for params
       将设置参数的默认值。
,