Phaser API Documentation

  Version: 
OBJFileConfig
Properties:
name type arguments Default description
key string

The key of the file. Must be unique within both the Loader and the OBJ Cache.

url string <optional>

The absolute or relative URL to load this file from. If undefined or null it will be set to <key>.obj, i.e. if key was "alien" then the URL will be "alien.obj".

extension string <optional> 'obj'

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

flipUV boolean <optional>

Flip the UV coordinates stored in the model data?

matURL string <optional>

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

matExtension string <optional> 'mat'

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

xhrSettings Phaser.Types.Loader.XHRSettingsObject <optional>

Extra XHR Settings specifically for this file.

Type:
object