Phaser API Documentation

  Version: 

Member of: Phaser.Loader

<static> GetURL(file, baseURL)

Description:

Given a File and a baseURL value this returns the URL the File will use to download from.

Parameters:

name type description
file Phaser.Loader.File

The File object.

baseURL string

A default base URL.

Returns:
Description:

The URL the File will use.

Type:
  • string
Since: 3.0.0
Source: src/loader/GetURL.js (Line 7)