ObjExporter
概述
ObjExporter 是 Aspose.3D FOSS 中用于 Python 的一个类。继承自:Exporter。
ObjExporter 支持使用 export(scene, stream, options) 方法写入 OBJ 数据。
此类在 Python 程序中为 ObjExporter 对象声明了 4 个方法。可用的方法包括:__init__、export、supports_format。安装 Aspose.3D FOSS for Python 包后,所有公共成员对任何 Python 应用程序均可访问。
方法
| 签名 | 描述 |
|---|---|
__init__() | Calls init 在此 ObjExporter 实例上。 |
supports_format(file_format) → bool | 在此 ObjExporter 实例上调用 supports_format(file_format)。 |
export(scene: 'Scene', stream, options: 'SaveOptions') | 在此 ObjExporter 实例上调用 export(scene, stream, options)。 |
supports_format(file_format: 'FileFormat') → bool | 在 FOSS 版中未实现 — 在运行时抛出。 在此 ObjExporter 实例上调用 supports_format(file_format)。 |