texturepacker-cli - v0.0.27
    Preparing search index...

    Type Alias TexturePackerOptions

    type TexturePackerOptions = {
        alphaHandling: AlphaHandlingType;
        data: string;
        disableRotation: boolean;
        fileList: string[];
        format: FormatType;
        trimMargin: number;
        trimSpriteNames: boolean;
    }
    Index

    Properties

    alphaHandling: AlphaHandlingType

    Defines how color values of transparent pixels are processed.

    data: string

    Sets the output filename for the Data file. This file contains metadata like sprite sizes and coordinates.

    disableRotation: boolean

    Prevents sprites from being rotated by 90 degrees for better texture packing.

    fileList: string[]
    format: FormatType

    Sets the data format or framework for a new project. This choice enables additional feature. It determines how sprite metadata is saved.

    trimMargin: number

    Transparent margin which is left over after trimming.

    trimSpriteNames: boolean

    Removes image file extensions like .png or .tga from sprite names.