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

    Function CatmullRom

    • Calculates a Catmull-Rom value from the given points, based on an alpha of 0.5.

      Parameters

      • t: number

        The amount to interpolate by.

      • p0: number

        The first control point.

      • p1: number

        The second control point.

      • p2: number

        The third control point.

      • p3: number

        The fourth control point.

      Returns number