Microsoft3MFFormat

Microsoft3MFFormat

概述

Microsoft3MFFormat 是 Aspose.3D FOSS 中用于 .NET 的类。继承自:FileFormat。

Microsoft 3MF 文件格式实例,附带 3MF 相关实用工具。

此类提供 11 种方法,用于在 .NET 程序中处理 Microsoft3MFFormat 对象。可用的方法包括:CreateLoadOptions、CreateSaveOptions、Detect、GetFormatByExtension、GetObjectType、GetTransformForBuild、IsBuildable、SetBuildable、SetObjectType、ToString。在安装 Aspose.3D FOSS for .NET 包后,所有公共成员对任何 .NET 应用程序均可访问。属性:AMF、ASE、Aspose3DWeb、Blender、CanExport、CanImport,以及另外 52 项。

属性

名称类型访问描述
FormatsIList<FileFormat>读取访问所有受支持的格式
VersionVersion读取获取文件格式版本
CanExportbool读取获取 Aspose.3D 是否支持将场景导出为当前文件格式。
CanImportbool读取获取 Aspose.3D 是否支持从当前文件格式导入场景。
Extensionstring读取获取此类型的扩展名。
Extensionsstring[]读取获取此类型的扩展名。
ContentTypeFileContentType读取获取文件格式内容类型
FileFormatTypeFileFormatType读取获取文件格式类型
FBX6100ASCIIFileFormat读取获取 fbx6100 ascii。
FBX6100BinaryFileFormat读取获取 fbx6100 二进制。
FBX7200ASCIIFileFormat读取获取 fbx7200 ascii。
FBX7200BinaryFileFormat读取获取 fbx7200 二进制。
FBX7300ASCIIFileFormat读取获取 fbx7300 ascii。
FBX7300BinaryFileFormat读取获取 fbx7300 二进制。
FBX7400ASCIIFileFormat读取获取 fbx7400 ascii。
FBX7400BinaryFileFormat读取获取 fbx7400 二进制。
FBX7500ASCIIFileFormat读取获取 fbx7500 ASCII。
FBX7500BinaryFileFormat读取获取 fbx7500 二进制。
FBX7600ASCIIFileFormat读取获取 fbx7600 ascii。
FBX7600BinaryFileFormat读取获取 fbx7600 二进制。
FBX7700ASCIIFileFormat读取获取 fbx7700 ascii。
FBX7700BinaryFileFormat读取获取 fbx7700 二进制。
MayaASCIIFileFormat读取获取 maya ascii。
MayaBinaryFileFormat读取获取 maya 二进制。
STLBinaryFileFormat读取获取 STL 二进制。
STLASCIIFileFormat读取获取 stlascii。
WavefrontOBJFileFormat读取获取 wavefront obj。
ColladaFileFormat读取获取 collada。
Universal3DFileFormat读取获取通用3D。
GLTFFileFormat读取获取 gltf。
GLTF2FileFormat读取获取 gltf2。
GLTF_BinaryFileFormat读取获取 gltf 二进制。
GLTF2_BinaryFileFormat读取获取 gltf2 二进制。
PDFFormats.PdfFormat读取获取 PDF。
PLYFormats.PlyFormat读取获取层。
Microsoft3MFFormats.Microsoft3MFFormat读取获取 microsoft3 mf。
DracoFormats.DracoFormat读取获取 draco。
RvmTextFormats.RvmFormat读取获取 rvm 文本。
RvmBinaryFormats.RvmFormat读取获取 rvm 二进制文件。
BlenderFileFormat读取获取混合器。
DXFFileFormat读取获取 dxf。
XBinaryFileFormat读取获取 x 二进制。
XTextFileFormat读取获取 x 文本。
ASEFileFormat读取获取 ase。
IFCFileFormat读取获取 ifc。
SiemensJT8FileFormat读取获取 Siemens jt8。
SiemensJT9FileFormat读取获取 siemens jt9。
AMFFileFormat读取获取 amf。
VRMLFileFormat读取获取 vrml。
Aspose3DWebFileFormat读取获取 aspose3 d web。
HTML5FileFormat读取获取 html5。
ZipFileFormat读取获取 zip。
USDFileFormat读取获取 usd。
USDAFileFormat读取获取 usda。
USDZFileFormat读取获取 usdz。
XyzFileFormat读取获取 xyz。
PcdFileFormat读取获取 pcd。
PcdBinaryFileFormat读取获取 pcd 二进制。

方法

签名描述
IsBuildable(node: Node)在 FOSS 版中未实现——运行时抛出异常。 检查此节点是否标记为构建。
GetTransformForBuild(node: Node)在 FOSS 版中未实现——运行时抛出。 获取用于构建的节点的变换矩阵。
SetBuildable(node: Node, value: bool, transform: Nullable<Matrix4>)在 FOSS 版中未实现——运行时抛出。 设置可构建的值。
SetObjectType(node: Node, modelType: string)在 FOSS 版中未实现——运行时抛出异常。 为指定节点设置模型类型。
GetObjectType(node: Node)在 FOSS 版中未实现 — 在运行时抛出异常。 获取指定节点的模型类型。
GetFormatByExtension(extensionName: string)从文件扩展名获取首选文件格式。扩展名应以点(’.’)开头。
Detect(fileName: string)根据文件名检测文件格式,文件必须可读取,以便 Aspose.3D 能通过文件头检测文件格式。
Detect(stream: Stream, fileName: string)从数据流检测文件格式,文件名是可选的,用于猜测没有魔术头的类型。
CreateLoadOptions()在 FOSS 版中未实现 — 运行时抛出异常。 为此文件格式创建默认加载选项
CreateSaveOptions()在 FOSS 版中未实现 — 运行时抛出异常。 为此文件格式创建默认保存选项
ToString()将格式转换为字符串

另请参阅

 中文