OpenFairyGUI API
    Preparing search index...

    Interface PackerOptions

    interface PackerOptions {
        allowRotation?: boolean;
        duplicatePadding?: boolean;
        edgePadding?: boolean;
        fast?: boolean;
        maxHeight?: number;
        maxWidth?: number;
        mof?: boolean;
        multiPage?: boolean;
        padding?: number;
        pot?: boolean;
        square?: boolean;
    }
    Index
    allowRotation?: boolean
    duplicatePadding?: boolean

    Duplicate border pixels for padding (e.g. for tiling). Default: false.

    edgePadding?: boolean

    Apply padding to atlas edges. Default: false.

    fast?: boolean

    Fast mode: sequential insert with pre-sort. Default: true (matches editor).

    maxHeight?: number
    maxWidth?: number
    mof?: boolean

    Multiples-of-four constraint. Default: false.

    multiPage?: boolean

    Allow overflow to multiple pages. Default: true.

    padding?: number
    pot?: boolean

    Power-of-two constraint. Default: true (matches editor default).

    square?: boolean

    Force square atlas. Default: false.