Phaser API Documentation

  Version: 

Member of: Phaser.Geom.Mesh

<static> ParseObj(data, [flipUV])

Description:

Parses a Wavefront OBJ File, extracting the models from it and returning them in an array.

The model data must be triangulated for a Mesh Game Object to be able to render it.

Parameters:

name type arguments Default description
data string

The OBJ File data as a raw string.

flipUV boolean <optional> true

Flip the UV coordinates?

Returns:
Description:

The parsed model and material data.

Since: 3.50.0