Vixen
dd8b0a81
csharp
public readonly record struct UvIslandView

What one island looks like in a panel: where it is, and how badly it is stretched.

Read the guide page for this →

Fields and properties (6)

  • public int Island

    Which island, by index into Islands.

  • public Vector2 Minimum

    Its lower corner in the atlas, after packing.

  • public Vector2 Maximum

    Its upper corner.

  • public float Distortion

    Its worst triangle's stretch, one being none.

  • public int Flipped

    How many of its triangles came out wound the wrong way.

  • public bool IsBad

    Whether this island is the one a heat map should shout about.

Methods (1)

  • public UvIslandView(int Island, Vector2 Minimum, Vector2 Maximum, float Distortion, int Flipped)

    What one island looks like in a panel: where it is, and how badly it is stretched.

Used by (3)

  • BlockoutRetopologyTestsVixen.Editor.Blockout.Tests
  • BlockoutUvPanelVixen.Editor.Blockout
  • BlockoutUvViewVixen.Editor.Blockout