Vixen
dd8b0a81
csharp
public readonly record struct UvTexelDensity

What the achieved texel density turned out to be, across every chart.

Read the guide page for this →

Remarks

docs/plan/42 § D9. Density is a constraint rather than an observation, so this is the field that answers "did the packer quietly rescale something" — which, without it, is a question you can only answer by looking at the game.

Fields and properties (4)

  • public float Minimum

    The sparsest chart, in texels per world unit.

  • public float Mean

    The average.

  • public float Maximum

    The densest.

  • public float Variance

    How far from uniform the set is.

Methods (1)

  • public UvTexelDensity(float Minimum, float Mean, float Maximum, float Variance)

    What the achieved texel density turned out to be, across every chart.

Used by (7)

  • PackerVixen.Geometry.Uv
  • UvAllTestsVixen.Geometry.Uv.Tests
  • UvDensityTestsVixen.Geometry.Uv.Tests
  • UvPackingTestsVixen.Geometry.Uv.Tests
  • UvReportVixen.Geometry.Uv
  • UvUdimTestsVixen.Geometry.Uv.Tests
  • UvUnwrapDeterminismTestsVixen.Geometry.Uv.Tests