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
ForcePowerOfTwo
If true, both dimensions are rounded up to powers of two.
public bool ForcePowerOfTwo { get; set; }
Property Value
ForceSquare
If true, the atlas must be square (width == height).
public bool ForceSquare { get; set; }