StlFormatDetector

StlFormatDetector

Overview

StlFormatDetector 通过检查输入流的开头字节或文件扩展来识别STL (.stl) 的内容. 它被内部使用: Scene.open() 当调用者没有明确的格式时,检测器会自动选择正确导入方.该探测仪检查STL (.stl) 特定文件签名并返回了对应的数据. StlFormat 描述器在确认匹配,或给其他检测器的结果当内容不符合预期STL (.stl) 的结构.

Description

StlFormatDetector 是Aspose.3D FOSS库中的一个类,该类可用于 TypeScript 进行程序化使用. 它扩展到 1 个方法和 0 种属性. FormatDetector, 继承了其母型的共享功能.

实例通过单个构造器创建,该构成者将对象初始化为默认值.

Methods

SignatureDescription
constructor()
detect(stream: any, fileName: string) → `FileFormatnull`

See Also

 中文