Vixen
dd8b0a81
csharp
public sealed class BlockoutPackSettings

The packing section of the blockout settings panel.

Read the guide page for this →

Remarks

⚠ Resolution is required on the record and has a default here. That is not a disagreement: a required member exists so that a caller in code cannot forget the number the margin is counted against, and a panel cannot forget it — it is a field with a value in it from the moment it is drawn.

Fields and properties (7)

  • public int Resolution

    The atlas's edge length in texels.

  • public int Margin

    How many texels of empty space separate two islands.

  • public PackQuality Quality

    How hard to try.

  • public PackOverflow Overflow

    What to do when it does not fit.

  • public int Rotations

    How many orientations an island may be tried in, as quarter turns.

  • public float TexelDensity

    Texels per world unit every island is scaled to, or zero to keep each island's own scale.

  • public int CoreLimit

    How many islands the expensive core will place before the cheap tail takes over.

Methods (1)

  • public PackSettings ToPackSettings()

    What the packer is actually asked for.

Used by (4)

  • BlockoutModeVixen.Editor.Blockout
  • BlockoutModuleVixen.Editor.Blockout
  • BlockoutSettingsTestsVixen.Editor.Blockout.Tests
  • Describes_Vixen_Editor_Blockout_BlockoutPackSettingsVixen.Editor.Blockout