RvmSaveOptions
概述
RvmSaveOptions 是 Aspose.3D FOSS 中用于 Java 的一个类。继承自:SaveOptions。
Aveva PDMS RVM 文件的保存选项。
此类提供 30 个用于在 Java 程序中处理 RvmSaveOptions 对象的方法。可用的方法包括:RvmSaveOptions、SaveOptions、getAttributeListFile、getAttributePrefix、getAuthor、getCreationTime、getEncoding、getExportAttributes、getExportTextures、getFileFormat、getFileName、getFileNote,以及另外 15 个方法。安装 Aspose.3D FOSS for Java 包后,所有公共成员对任何 Java 应用程序均可访问。属性:attributeListFile、attributePrefix、author、creationTime、encoding、exportAttributes,以及另外 7 项。
属性
| 名称 | 类型 | 访问 | 描述 |
|---|---|---|---|
fileNote | String | 读取 | 文件头中的文件备注。 |
author | String | 读取 | 作者信息,默认值为 ‘3d@aspose’。 |
creationTime | String | 读取 | 导出此文件的时间戳,默认值为当前时间。 |
attributePrefix | String | 读取 | 获取将被导出的属性前缀,导出的属性将不包含前缀,使用不同前缀的自定义属性将不会被导出,默认值为 ‘rvm:’。 |
attributeListFile | String | 读取 | 获取属性列表文件的文件名;当此属性未定义时,导出器将基于 .rvm 文件名生成一个名称,默认值为 null。 |
exportAttributes | boolean | 读取 | 获取是否将属性列表导出到外部 .att 文件,默认值为 false。 |
exportTextures | boolean | 读取 | 尝试将场景中使用的纹理复制到输出目录。 |
fileFormat | FileFormat | 读取 | 获取文件格式。 |
fileSystemFactory | FileSystemFactory | 读取 | 获取 FileSystem 的工厂类。 |
encoding | java.nio.charset.Charset | 读取 | 获取文本文件的默认编码。 |
fileSystem | FileSystem | 读取 | 允许用户自行处理在加载/保存期间如何管理外部依赖。 |
lookupPaths | java.util.ArrayList<String> | 读取 | 某些文件(如 OBJ)依赖外部文件,查找路径将允许 Aspose.3D 查找并加载外部文件。 |
fileName | String | 读取 | 导出/导入场景的文件名。 |
方法
| 签名 | 描述 |
|---|---|
RvmSaveOptions() | RvmSaveOptions 的构造函数。 |
RvmSaveOptions(contentType: FileContentType) | RvmSaveOptions 的构造函数。 |
getFileNote() → String | 文件头中的文件注释。 |
setFileNote(value: String) | 文件头中的文件注释。 |
getAuthor() → String | 作者信息,默认值为 ‘3d@aspose’。 |
setAuthor(value: String) | 作者信息,默认值为 ‘3d@aspose’。 |
getCreationTime() → String | 导出此文件的时间戳,默认值为当前时间。 |
setCreationTime(value: String) | 导出此文件的时间戳,默认值为当前时间。 |
getAttributePrefix() → String | 获取将被导出的属性前缀,导出的属性将不包含前缀,使用不同前缀的自定义属性将不会被导出,默认值为 ‘rvm:’。 |
setAttributePrefix(value: String) | 设置将被导出的属性前缀,导出的属性将不包含前缀,使用不同前缀的自定义属性将不会被导出,默认值为 ‘rvm:’。 |
getAttributeListFile() → String | 获取属性列表文件的文件名;当此属性未定义时,导出器将基于 .rvm 文件名生成一个名称,默认值为 null。 |
setAttributeListFile(value: String) | 设置属性列表文件的文件名;当此属性未定义时,导出器将根据 .rvm 文件名生成名称,默认值为 null。 |
getExportAttributes() → boolean | 获取是否将属性列表导出到外部 .att 文件,默认值为 false。 |
setExportAttributes(value: boolean) | 设置是否将属性列表导出到外部 .att 文件,默认值为 false。 |
SaveOptions() | 初始化 SaveOptions 类的新实例。 |
SaveOptions(format: FileFormat) | 使用文件格式初始化 SaveOptions 类的一个新实例。 |
SaveOptions(contentType: FileContentType) | 使用文件内容类型初始化 SaveOptions 类的一个新实例。 |
getExportTextures() → boolean | 尝试将场景中使用的纹理复制到输出目录。 |
setExportTextures(value: boolean) | 尝试将场景中使用的纹理复制到输出目录。 |
getFileFormat() → FileFormat | 返回文件格式。 |
getFileSystemFactory() → FileSystemFactory | 获取 FileSystem 的工厂类。 |
setFileSystemFactory(value: FileSystemFactory) | 为 FileSystem 设置工厂类。 |
getEncoding() → java.nio.charset.Charset | 获取文本文件的默认编码。 |
setEncoding(value: java.nio.charset.Charset) | 设置基于文本的文件的默认编码。 |
getFileSystem() → FileSystem | 允许用户在加载/保存期间自行处理外部依赖的管理。 |
setFileSystem(value: FileSystem) | 允许用户在加载/保存期间处理如何管理外部依赖。 |
getLookupPaths() → java.util.ArrayList<String> | 某些文件(如 OBJ)依赖外部文件,查找路径将允许 Aspose.3D 查找并加载外部文件。 |
setLookupPaths(value: java.util.ArrayList<String>) | 某些文件(如 OBJ)依赖外部文件,查找路径将允许 Aspose.3D 查找并加载外部文件。 |
getFileName() → String | 导出/导入场景的文件名。 |
setFileName(value: String) | 导出/导入场景的文件名。 |