Import
OBJExporter is an addon, and must be imported explicitly, see Installation#Addons.
import { OBJExporter } from 'three/addons/exporters/OBJExporter.js';
Methods
.parse( object : Object3D ) : string
Parses the given 3D object and generates the OBJ output.
If the 3D object is composed of multiple children and geometry, they are merged into a single mesh in the file.
| object |
The 3D object to export. |
- Returns: The exported OBJ.