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

NameTypeAccessDescription
extensionstringReadHolds the default file extension for COLLADA files
extensionsstring[]ReadLists all supported file extensions for COLLADA
contentTypestringReadContains the MIME type for COLLADA files
fileFormatTypeanyReadIdentifies the enum value representing the COLLADA format
versionstringReadSpecifies the COLLADA specification version supported
canExportbooleanReadIndicates if the COLLADA format can be exported
canImportbooleanReadIndicates if the COLLADA format can be imported
formatsany[]ReadProvides an array of related format descriptors

Methods

SignatureDescription
canExport()booleanIndicates if the COLLADA format can be exported
canImport()booleanIndicates if the COLLADA format can be imported
constructor()
getInstance()ColladaFormatReturns a singleton ColladaFormat object
createLoadOptions()ColladaLoadOptionsCreates a ColladaLoadOptions object for importing
createSaveOptions()ColladaSaveOptionsCreates a ColladaSaveOptions object for exporting

See Also