Class UnwrapParameters
Store UV2 unwrapping parameters.
Namespace: UnityEngine.ProBuilder
Syntax
[Serializable]
public sealed class UnwrapParameters
Constructors
UnwrapParameters()
Declaration
public UnwrapParameters()
UnwrapParameters(UnwrapParameters)
Copy constructor.
Declaration
public UnwrapParameters(UnwrapParameters other)
Parameters
| Type | Name | Description | 
|---|---|---|
| UnwrapParameters | other | The UnwrapParameters to copy properties from.  | 
Properties
angleError
Declaration
public float angleError { get; set; }
Property Value
| Type | Description | 
|---|---|
| Single | Measured in percents. Angle error measures deviation of UV angles from geometry angles. Area error measures deviation of UV triangles area from geometry triangles if they were uniformly scaled.  | 
areaError
Declaration
public float areaError { get; set; }
Property Value
| Type | Description | 
|---|---|
| Single | Does... something.  | 
hardAngle
Declaration
public float hardAngle { get; set; }
Property Value
| Type | Description | 
|---|---|
| Single | Angle between neighbor triangles that will generate seam.  | 
packMargin
Declaration
public float packMargin { get; set; }
Property Value
| Type | Description | 
|---|---|
| Single | Measured in pixels, assuming mesh will cover an entire 1024x1024 lightmap.  | 
Methods
Reset()
Reset the unwrap parameters to default values.
Declaration
public void Reset()
ToString()
Declaration
public override string ToString()
Returns
| Type | Description | 
|---|---|
| String |