phaser - v4.0.0-rc.4
    Preparing search index...
    type FileConfig = {
        ASTC?: CompressedTextureFileEntry | string;
        ATC?: CompressedTextureFileEntry | string;
        atlasExtension?: string;
        atlasURL?: object | string;
        atlasXhrSettings?: XHRSettingsObject;
        audioConfig?: any;
        audioURL?: Object;
        audioXhrSettings?: XHRSettingsObject;
        baseURL?: string;
        BPTC?: CompressedTextureFileEntry | string;
        cache: BaseCache | false;
        config?: any;
        context?: AudioContext;
        dataKey?: string;
        dataType?: any;
        ETC?: CompressedTextureFileEntry | string;
        ETC1?: CompressedTextureFileEntry | string;
        extension?: string;
        flipUV?: boolean;
        fontDataExtension?: string;
        fontDataURL?: string;
        fontDataXhrSettings?: XHRSettingsObject;
        frameConfig?: ImageFrameConfig;
        height?: number;
        IMG?: CompressedTextureFileEntry | string;
        jsonURL?: string;
        jsonXhrSettings?: XHRSettingsObject;
        key: string;
        mapping?: string;
        matExtension?: string;
        matURL?: string;
        maxRetries?: number;
        normalMap?: string;
        path?: string;
        PVRTC?: CompressedTextureFileEntry | string;
        responseType?: XMLHttpRequestResponseType;
        RGTC?: CompressedTextureFileEntry | string;
        S3TC?: CompressedTextureFileEntry | string;
        S3TCSRGB?: CompressedTextureFileEntry | string;
        sceneKey?: string;
        shaderType?: string;
        start?: boolean;
        svgConfig?: SVGSizeConfig;
        systemKey?: string;
        textureExtension?: string;
        textureURL?: string;
        textureXhrSettings?: XHRSettingsObject;
        type: string;
        url?: object | string;
        width?: number;
        xhrSettings?: XHRSettingsObject | false;
    }
    Index

    Properties

    The string, or file entry object, for an ASTC format texture.

    The string, or file entry object, for an ATC format texture.

    atlasExtension?: string

    The default file extension to use for the atlas json if no url is provided.

    atlasURL?: object | string

    The absolute or relative URL to load the atlas json file from. Or, a well formed JSON object to use instead.

    atlasXhrSettings?: XHRSettingsObject

    Extra XHR Settings specifically for the atlas json file.

    audioConfig?: any

    The audio configuration options.

    audioURL?: Object

    The absolute or relative URL to load the audio file from.

    audioXhrSettings?: XHRSettingsObject

    Extra XHR Settings specifically for the audio file.

    baseURL?: string

    Optional Base URL to use when loading the textures defined in the atlas data.

    The string, or file entry object, for an BPTC format texture.

    cache: BaseCache | false

    Reference to the cache instance responsible for this file type. Or false if you don't need to retrieve files from your game; e.g.: Font files tracked by the browser.

    config?: any

    A config object that can be used by file types to store transitional data.

    context?: AudioContext

    The optional AudioContext this file will use to process itself (only used by Sound objects).

    dataKey?: string

    If specified instead of the whole JSON file being parsed and added to the Cache, only the section corresponding to this property key will be added. If the property you want to extract is nested, use periods to divide it.

    dataType?: any

    Optional type to cast the binary file to once loaded. For example, Uint8Array.

    The string, or file entry object, for an ETC format texture.

    The string, or file entry object, for an ETC1 format texture.

    extension?: string

    The default extension this file uses.

    flipUV?: boolean

    Flip the UV coordinates stored in the model data?

    fontDataExtension?: string

    The default file extension to use for the font data xml if no url is provided.

    fontDataURL?: string

    The absolute or relative URL to load the font data xml file from.

    fontDataXhrSettings?: XHRSettingsObject

    Extra XHR Settings specifically for the font data xml file.

    frameConfig?: ImageFrameConfig

    The frame configuration object. Only provided for, and used by, Sprite Sheets.

    height?: number

    The height of the texture the HTML will be rendered to.

    The string, or file entry object, for the fallback image file.

    jsonURL?: string

    The absolute or relative URL to load the json file from. Or a well formed JSON object to use instead.

    jsonXhrSettings?: XHRSettingsObject

    Extra XHR Settings specifically for the json file.

    key: string

    Unique cache key (unique within its file type)

    mapping?: string

    If this plugin is to be injected into the Scene, this is the property key used.

    matExtension?: string

    The default material file extension to use if no url is provided.

    matURL?: string

    An optional absolute or relative URL to the object material file from. If undefined or null, no material file will be loaded.

    maxRetries?: number

    The number of times to retry the file load if it fails.

    normalMap?: string

    The filename of an associated normal map. It uses the same path and url to load as the texture image.

    path?: string

    The path of the file, not including the baseURL.

    The string, or file entry object, for an PVRTC format texture.

    responseType?: XMLHttpRequestResponseType

    The responseType to be used by the XHR request.

    The string, or file entry object, for an RGTC format texture.

    The string, or file entry object, for an S3TC format texture.

    S3TCSRGB?: CompressedTextureFileEntry | string

    The string, or file entry object, for an S3TCSRGB format texture.

    sceneKey?: string

    If this plugin is to be added to the Scene, this is the property key for it.

    shaderType?: string

    The type of shader. Either fragment for a fragment shader, or vertex for a vertex shader. This is ignored if you load a shader bundle.

    start?: boolean

    Automatically start the plugin after loading?

    svgConfig?: SVGSizeConfig

    The svg size configuration object.

    systemKey?: string

    If this plugin is to be added to Scene.Systems, this is the property key for it.

    textureExtension?: string

    The default file extension to use for the image texture if no url is provided.

    textureURL?: string

    The absolute or relative URL to load the texture image file from.

    textureXhrSettings?: XHRSettingsObject

    Extra XHR Settings specifically for the texture image file.

    type: string

    The name of the Loader method that loads this file, e.g., 'image', 'json', 'spritesheet'.

    url?: object | string

    The URL of the file, not including baseURL.

    width?: number

    The width of the texture the HTML will be rendered to.

    xhrSettings?: XHRSettingsObject | false

    Custom XHR Settings specific to this file and merged with the Loader defaults.