pixi-viewport
    Preparing search index...

    Class Animate

    Animation plugin.

    Viewport#animate

    animate-end

    Hierarchy (View Summary)

    Index
    deltaHeight: number | null = null

    The change in the viewport's height through the animation.

    deltaWidth: number | null = null

    The change in the viewport's width through the animation.

    deltaX?: number

    The change in the x-coordinate of the viewport through the animation.

    deltaY?: number

    The change in the y-coordinate of the viewport through the animation.

    height: number | null = null

    The viewport's height post-animation.

    keepCenter: boolean

    Marks whether the center of the viewport is preserved in the animation.

    options: IAnimateOptions & { ease: any; time: number }
    parent: Viewport

    The viewport to which this plugin is attached.

    paused: boolean

    Flags whether this plugin has been "paused".

    • Plugin#pause
    • Plugin#resume
    startHeight: number | null = null

    The starting viewport height.

    startWidth: number | null = null

    The starting viewport width.

    startX?: number

    The starting x-coordinate of the viewport.

    startY?: number

    The starting y-coordinate of the viewport.

    time: number = 0

    The time since the animation started.

    width: number | null = null

    The viewport's width post-animation.

    • Setup startX, startY, deltaX, deltaY, keepCenter.

      This is called during construction.

      Returns void

    • Setup startWidth, startHeight, deltaWidth, deltaHeight, width, height`.

      This is called during construction.

      Returns void