Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Tweener

Provides interpolation functionality for various values and easing types.

Hierarchy

  • Tweener

Index

Constructors

Properties

Methods

Constructors

Properties

playing: boolean
returns

true if Tweener has active transition.

stopped: boolean

Methods

  • onFinish(callback: (() => void)): void
  • Creates a handler that triggers when this Tweener completes.

    Note: This handler is disposed when a new handler is defined. A Tweener with iterations = 0 does not finish.

    Parameters

    • callback: (() => void)

      function to call when Tweener completes.

        • (): void
        • Returns void

    Returns void

  • stop(): void
  • Stops this Tweener.

    Tweener starts from the beginning with next play call.

    Returns void