XLoadOptions
概述
XLoadOptions 是 Aspose.3D FOSS 中用于 .NET 的一个类。继承自:LoadOptions。
用于 DirectX X 文件的加载选项。
此类提供 1 个用于在 .NET 程序中处理 XLoadOptions 对象的方法。可用的方法包括:XLoadOptions。在安装了 Aspose.3D FOSS for .NET 包后,所有公共成员对任何 .NET 应用程序均可访问。属性:Encoding、FileFormat、FileName、FileSystem、FileSystemFactory、FlipCoordinateSystem,以及另 1 项。
属性
| 名称 | 类型 | 访问 | 描述 |
|---|---|---|---|
FlipCoordinateSystem | bool | 读写 | 翻转坐标系,默认情况下此项为 true |
FileSystemFactory | FileSystemFactory | 读写 | 获取或设置 FileSystem 的工厂类。 |
FileFormat | FileFormat | 读取 | 获取当前 Save/Load 选项中指定的文件格式。 |
Encoding | Encoding | 读写 | 获取或设置基于文本的文件的默认编码。 |
FileSystem | FileSystem | 读写 | 允许用户在加载/保存期间处理如何管理外部依赖。 |
LookupPaths | List<string> | 读写 | 某些文件(如 OBJ)依赖外部文件,查找路径将允许 Aspose.3D 查找并加载外部文件。 |
FileName | string | 读写 | 导出/导入场景的文件名。 |
方法
| 签名 | 描述 |
|---|---|
XLoadOptions(contentType: FileContentType) | 构造函数 |