Vixen
dd8b0a81
csharp
public readonly record struct UvStackOffer

Two islands one region of texture could serve, and how well the match holds.

Read the guide page for this →

Remarks

⚠ An offer, and never a decision. docs/plan/42 § D10: stacking forbids asymmetric detail, and discovering that after texturing is expensive — a scar on one cheek, a logo on one sleeve, a wear pattern on one boot. On an arbitrary mesh the match is approximate, so what a detector can honestly produce is a list with a number beside each entry and somebody else's decision.

Fields and properties (4)

  • public int Representative

    The island that would be packed. Always the lower index of the pair.

  • public int Partner

    The island that would share its region.

  • public bool Mirrored

    Whether the partner matches the representative reflected in u.

  • public float Residual

    The worst corner's disagreement, as a fraction of the representative's extent. Zero is an exact match; docs/plan/41 § D11's exact mirror produces exactly zero.

Methods (1)

  • public UvStackOffer(int Representative, int Partner, bool Mirrored, float Residual)

    Two islands one region of texture could serve, and how well the match holds.

Used by (2)

  • UvStackingVixen.Geometry.Uv
  • UvStackingTestsVixen.Geometry.Uv.Tests