PokéRogue
    Preparing search index...

    Type Alias GenerateFrameNames

    type GenerateFrameNames = {
        end?: number;
        frames?: boolean | number[];
        outputArray?: AnimationFrame[];
        prefix?: string;
        start?: number;
        suffix?: string;
        zeroPad?: number;
    }
    Index

    Properties

    end?: number

    If frames is not provided, the number of the last frame to return.

    frames?: boolean | number[]

    If provided as an array, the range defined by start and end will be ignored and these frame numbers will be used.

    outputArray?: AnimationFrame[]

    The array to append the created configuration objects to.

    prefix?: string

    The string to append to every resulting frame name if using a range or an array of frames.

    start?: number

    If frames is not provided, the number of the first frame to return.

    suffix?: string

    The string to append to every resulting frame name if using a range or an array of frames.

    zeroPad?: number

    The minimum expected lengths of each resulting frame's number. Numbers will be left-padded with zeroes until they are this long, then prepended and appended to create the resulting frame name.