phaser - v4.0.0-rc.4
    Preparing search index...
    • Static method called directly by the File Types.

      The key is a reference to the function used to load the files via the Loader, i.e. image.

      Parameters

      • key: string

        The key that will be used as the method name in the LoaderPlugin.

      • factoryFunction: Function

        The function that will be called when LoaderPlugin.key is invoked.

      Returns void