文档

Unity Engine


Unity Engine


UnwrapParam

Unwrapping settings.
阅读时间1 分钟最后更新于 1 个月前

Definition

  • Type: Struct
  • Namespace: UnityEditor
  • Assembly: UnityEditor.CoreModule
public struct UnwrapParam

Remarks

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

Fields

Value

Description

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 Methods

Method

Description

SetDefaultsWill set default values for params.