FbxFormatDetector
Overview
FbxFormatDetector identifies FBX (.fbx) content by inspecting the opening bytes or file extension of an input stream. It is used internally by Scene.open() to select the correct importer automatically when no explicit format is specified by the caller. The detector examines FBX (.fbx)-specific file signatures and returns the FbxFormat descriptor on a confirmed match, or yields to other detectors when the content does not conform to the expected FBX (.fbx) structure.
Methods
| Signature | Description |
|---|---|
detect(stream: any, fileName: string) → FileFormat | null | Determines the file format of a given stream and optional filename, returning a FileFormat or null |