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.
Description
ColladaExporter is a class in the Aspose.3D FOSS library for TypeScript that exposes 2 methods and 0 properties for programmatic use. It extends Exporter, inheriting shared functionality from its parent type.
Core capabilities include: Creates a new exporter instance; writes the provided scene to the stream using the specified saveoptions. These operations enable developers to integrate colladaexporter functionality directly into TypeScript applications.
Instances are created through a single constructor that initializes the object with default values.
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 |