public readonly record struct UvStackOfferTwo islands one region of texture could serve, and how well the match holds.
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 RepresentativeThe island that would be packed. Always the lower index of the pair.
public int PartnerThe island that would share its region.
public bool MirroredWhether the partner matches the representative reflected in u.
public float ResidualThe 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