Table of Contents

Class AtlasSizeConstraints

Namespace
KernSmith
Assembly
KernSmith.dll

Constraints applied to atlas dimensions after size estimation.

public sealed class AtlasSizeConstraints
Inheritance
AtlasSizeConstraints
Inherited Members

Properties

FixedWidth

If greater than zero, locks the atlas width to this value and recalculates height.

public int FixedWidth { get; set; }

Property Value

int

ForcePowerOfTwo

If true, both dimensions are rounded up to powers of two.

public bool ForcePowerOfTwo { get; set; }

Property Value

bool

ForceSquare

If true, the atlas must be square (width == height).

public bool ForceSquare { get; set; }

Property Value

bool