Type alias RenderFunction

RenderFunction: ((state: TweenState, timeElapsed: number, data: Data) => void)

Type declaration

    • (state: TweenState, timeElapsed: number, data: Data): void
    • Gets called for every tick of the tween.

      Parameters

      • state: TweenState

        The current state of the tween.

      • timeElapsed: number

        The time elapsed since the start of the tween.

      • data: Data

        User-defined data provided via a TweenableConfig.

      Returns void

Generated using TypeDoc