scripts
This commit is contained in:
@@ -0,0 +1,39 @@
|
||||
using System;
|
||||
using UnityEngine;
|
||||
|
||||
namespace ProBuilder2.Common
|
||||
{
|
||||
// Token: 0x02000058 RID: 88
|
||||
[Serializable]
|
||||
public class pb_UnwrapParameters
|
||||
{
|
||||
// Token: 0x06000294 RID: 660 RVA: 0x0001FA0E File Offset: 0x0001DE0E
|
||||
public void Reset()
|
||||
{
|
||||
this.hardAngle = 88f;
|
||||
this.packMargin = 4f;
|
||||
this.angleError = 8f;
|
||||
this.areaError = 15f;
|
||||
}
|
||||
|
||||
// Token: 0x040001D4 RID: 468
|
||||
[Tooltip("Angle between neighbor triangles that will generate seam.")]
|
||||
[Range(1f, 180f)]
|
||||
public float hardAngle = 88f;
|
||||
|
||||
// Token: 0x040001D5 RID: 469
|
||||
[Tooltip("Measured in pixels, assuming mesh will cover an entire 1024x1024 lightmap.")]
|
||||
[Range(1f, 64f)]
|
||||
public float packMargin = 4f;
|
||||
|
||||
// Token: 0x040001D6 RID: 470
|
||||
[Tooltip("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.")]
|
||||
[Range(1f, 75f)]
|
||||
public float angleError = 8f;
|
||||
|
||||
// Token: 0x040001D7 RID: 471
|
||||
[Tooltip("Does... something.")]
|
||||
[Range(1f, 75f)]
|
||||
public float areaError = 15f;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user