ColladaFormat
Overview
ColladaFormat is the built-in format handler for COLLADA (.dae) files in Aspose.3D for TypeScript. It inherits from FileFormat and exposes factory methods that create the detector, importer, and exporter for this format. When a Scene loads or saves a .dae file, it delegates all I/O work to this class internally. The class also provides access to default ColladaFormatLoadOptions and ColladaFormatSaveOptions instances that control parsing and serialisation behaviour for every read and write operation.
Description
ColladaFormat is a class in the Aspose.3D FOSS library for TypeScript that exposes 5 methods and 8 properties for programmatic use. It extends FileFormat, inheriting shared functionality from its parent type.
Core capabilities include: string; string[]; string. These operations enable developers to integrate colladaformat functionality directly into TypeScript applications.
The class also provides the extension property (holds the default file extension for collada files), the extensions property (lists all supported file extensions for collada), the contentType property (contains the mime type for collada files).
Instances are created through a single constructor that initializes the object with default values.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
extension | string | Read | Holds the default file extension for COLLADA files |
extensions | string[] | Read | Lists all supported file extensions for COLLADA |
contentType | string | Read | Contains the MIME type for COLLADA files |
fileFormatType | any | Read | Identifies the enum value representing the COLLADA format |
version | string | Read | Specifies the COLLADA specification version supported |
canExport | boolean | Read | Indicates if the COLLADA format can be exported |
canImport | boolean | Read | Indicates if the COLLADA format can be imported |
formats | any[] | Read | Provides an array of related format descriptors |
Methods
| Signature | Description |
|---|---|
canExport() → boolean | Indicates if the COLLADA format can be exported |
canImport() → boolean | Indicates if the COLLADA format can be imported |
constructor() | |
getInstance() → ColladaFormat | Returns a singleton ColladaFormat object |
createLoadOptions() → ColladaLoadOptions | Creates a ColladaLoadOptions object for importing |
createSaveOptions() → ColladaSaveOptions | Creates a ColladaSaveOptions object for exporting |