A3dwSaveOptions

A3dwSaveOptions

概述

A3dwSaveOptions 是 Aspose.3D FOSS 中用于 Java 的类。继承自:SaveOptions。

A3DW 保存选项。

此类在 Java 程序中提供了用于操作 A3dwSaveOptions 对象的 21 个方法。可用的方法包括:A3dwSaveOptions、SaveOptions、getEncoding、getExportMetaData、getExportTextures、getFileFormat、getFileName、getFileSystem、getFileSystemFactory、getLookupPaths、getMetaDataPrefix、setEncoding,以及另外 7 个方法。所有公共成员在安装了用于 Java 的 Aspose.3D FOSS 包后,对任何 Java 应用程序均可访问。属性包括:encoding、exportMetaData、exportTextures、fileFormat、fileName、fileSystem,以及另外 3 项。

属性

名称类型访问描述
exportMetaDataboolean读取将与 Scene/Node 关联的元数据导出到客户端。
metaDataPrefixString读取如果此属性非空,则仅导出以此前缀开头的 Scene/Node 的属性,并且会移除该前缀。
exportTexturesboolean读取尝试将场景中使用的纹理复制到输出目录。
fileFormatFileFormat读取获取文件格式。
fileSystemFactoryFileSystemFactory读取获取 FileSystem 的工厂类。
encodingjava.nio.charset.Charset读取获取基于文本的文件的默认编码。
fileSystemFileSystem读取允许用户在加载/保存期间自行处理外部依赖的管理方式。
lookupPathsjava.util.ArrayList<String>读取某些文件,例如 OBJ,依赖外部文件,查找路径将允许 Aspose.3D 查找并加载外部文件。
fileNameString读取导出/导入场景的文件名。

方法

签名描述
A3dwSaveOptions()A3dwSaveOptions 的构造函数。
getExportMetaData() → boolean将与 Scene/Node 关联的元数据导出到客户端。
setExportMetaData(value: boolean)设置是否将与 Scene/Node 关联的元数据导出到客户端。
getMetaDataPrefix() → String如果此属性为非空,仅会导出以此前缀开头的 Scene/Node 属性,并且该前缀会被移除。
setMetaDataPrefix(value: String)设置元数据前缀。
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)导出/导入场景的文件名。

另请参阅

 中文