GltfFormatDetector

GltfFormatDetector

Overview

GltfFormatDetector is a class in Aspose.3D FOSS for Python. Inherits from: FormatDetector.

GltfFormatDetector.detect(stream, file_name) returns a FileFormat value that identifies the format of the supplied data.

This class declares 3 methods for GltfFormatDetector objects in Python programs. Available methods include: __init__, detect. All public members are accessible to any Python application after installing the Aspose.3D FOSS for Python package.

Methods

SignatureDescription
__init__()Calls init on this GltfFormatDetector instance.
detect(stream: 'io._IOBase', file_name: str)'FileFormat'Determines the FileFormat of the provided stream, optionally using the file name
detect(stream, file_name: str)'FileFormat'Not implemented in the FOSS edition — throws at runtime. Calls detect(stream, file_name) on this GltfFormatDetector instance.

See Also

 English