phaser - v4.0.0-rc.4
    Preparing search index...

    Function Linear

    • Calculates a linear (interpolation) value over t.

      Parameters

      • p0: number

        The first point.

      • p1: number

        The second point.

      • t: number

        The percentage between p0 and p1 to return, represented as a number between 0 and 1.

      Returns number