ColladaExporter
Overview
ColladaExporter converts an in-memory Scene graph into COLLADA (.dae) 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 .dae or when a ColladaSaveOptions instance is passed explicitly to control output. Pass a ColladaSaveOptions 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() | Creates a new exporter instance |
supportsFormat(fileFormat: FileFormat) → boolean | Returns true if the given FileFormat is supported for export |
export(scene: Scene, stream: any, options: SaveOptions) | Writes the provided Scene to the stream using the specified SaveOptions |