FbxFormat
Overview
FbxFormat is the built-in format handler for FBX (.fbx) 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 .fbx file, it delegates all I/O work to this class internally. The class also provides access to default FbxFormatLoadOptions and FbxFormatSaveOptions instances that control parsing and serialisation behaviour for every read and write operation.
Description
FbxFormat is a class in the Aspose.3D FOSS library for TypeScript that exposes 3 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 fbxformat functionality directly into TypeScript applications.
The class also provides the extension property (holds the primary file extension for fbx files (e.g., “fbx”)), the extensions property (holds an array of all supported fbx file extensions), the contentType property (contains the mime type associated with fbx 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 primary file extension for FBX files (e.g., “fbx”) |
extensions | string[] | Read | Holds an array of all supported FBX file extensions |
contentType | string | Read | Contains the MIME type associated with FBX files |
fileFormatType | any | Read | Identifies the internal format type identifier for FBX |
version | string | Read | Indicates the FBX format version string supported |
canExport | boolean | Read | Indicates whether FBX files can be exported |
canImport | boolean | Read | Indicates whether FBX files can be imported |
formats | any[] | Read | Lists additional format descriptors related to FBX |
Methods
| Signature | Description |
|---|---|
constructor() | |
getInstance() → FbxFormat | Returns the singleton instance of FbxFormat |
createLoadOptions() → FbxLoadOptions | Creates and returns a default FbxLoadOptions object |
createSaveOptions() → FbxSaveOptions | Creates and returns a default FbxSaveOptions object |