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

    Function CreatePixelPerfectHandler

    • Creates a new Pixel Perfect Handler function.

      Access via InputPlugin.makePixelPerfect rather than calling it directly.

      Parameters

      • textureManager: TextureManager

        A reference to the Texture Manager.

      • alphaTolerance: number

        The alpha level that the pixel should be above to be included as a successful interaction.

      Returns Function