pixi-viewport
    Preparing search index...

    Interface IBounceOptions

    Options for Bounce.

    interface IBounceOptions {
        bounceBox?: Rectangle | null;
        ease?: any;
        friction?: number;
        sides?: string;
        time?: number;
        underflow?: string;
    }
    Index
    bounceBox?: Rectangle | null

    Use this bounceBox instead of (0, 0, viewport.worldWidth, viewport.worldHeight)

    ease?: any

    Ease function or name (see http://easings.net/ for supported names)

    friction?: number

    Friction to apply to decelerate if active

    sides?: string

    "all", "horizontal", "vertical", or combination of "top", "bottom", "right", "left" (e.g., 'top-bottom-right')

    time?: number

    Time in ms to finish bounce

    underflow?: string

    (top/bottom/center and left/right/center, or center) where to place world if too small for screen