pixi-viewport
    Preparing search index...

    Interface IAnimateOptions

    Options for Animate.

    interface IAnimateOptions {
        callbackOnComplete?: (viewport: Viewport) => void;
        ease?: any;
        height?: number;
        position?: PointData;
        removeOnInterrupt?: boolean;
        scale?: number;
        scaleX?: number;
        scaleY?: number;
        time?: number;
        width?: number;
    }
    Index
    callbackOnComplete?: (viewport: Viewport) => void

    Callback to invoke when the animation completes

    ease?: any

    Easing function to use

    height?: number

    Desired viewport height in world pixels

    (use instead of scale; aspect ratio is maintained if width is not provided)

    position?: PointData

    Position to move the viewport to

    removeOnInterrupt?: boolean

    Removes this plugin if interrupted by any user input

    scale?: number

    Scale to change zoom (scale.x = scale.y)

    scaleX?: number

    Independently change zoom in x-direction

    scaleY?: number

    Independently change zoom in y-direction

    time?: number

    Time to animate

    width?: number

    Desired viewport width in world pixels

    (use instead of scale; aspect ratio is maintained if height is not provided)