ObjExporter
Overview
ObjExporter converts an in-memory Scene graph into Wavefront OBJ (.obj) format and writes the result to a file path or output stream. It is invoked automatically by Scene.save() when the target file extension is .obj or when a ObjSaveOptions instance is passed explicitly to control output. Pass a ObjSaveOptions object to govern serialisation details such as coordinate-system handedness, vertex precision, and optional format-specific extensions during the export operation.
Methods
| Signature | Description |
|---|---|
constructor() | |
supportsFormat(fileFormat: FileFormat) → boolean | |
export(scene: Scene, stream: any, options: SaveOptions) |