PlyFormat

概述

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

PLY 格式。

此类提供了 14 个方法,用于在 .NET 程序中处理 PlyFormat 对象。可用的方法包括:CreateLoadOptions、CreateSaveOptions、Decode、Detect、Encode、GetFormatByExtension、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读取获取 universal3 d。
GLTFFileFormat读取获取 gltf。
GLTF2FileFormat读取获取 gltf2。
GLTF_BinaryFileFormat读取获取 gltf 二进制。
GLTF2_BinaryFileFormat读取获取 gltf2 二进制。
PDFFormats.PdfFormat读取获取 pdf。
PLYFormats.PlyFormat读取获取 ply。
Microsoft3MFFormats.Microsoft3MFFormat读取获取 microsoft3 mf。
DracoFormats.DracoFormat读取获取 draco。
RvmTextFormats.RvmFormat读取获取 rvm 文本。
RvmBinaryFormats.RvmFormat读取获取 rvm 二进制文件。
BlenderFileFormat读取获取 blender。
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 二进制。

方法

签名描述
Encode(entity: Entity, stream: Stream)未在 FOSS 版中实现 — 在运行时抛出异常。 对实体进行编码并将结果保存到流中。
Encode(entity: Entity, stream: Stream, opt: PlySaveOptions)未在 FOSS 版中实现 — 在运行时抛出异常。 对实体进行编码并将结果保存到流中。
Encode(entity: Entity, fileName: string)未在 FOSS 版中实现 — 在运行时抛出异常。 对实体进行编码并将结果保存到外部文件中。
Encode(entity: Entity, fileName: string, opt: PlySaveOptions)在 FOSS 版中未实现 —— 在运行时抛出错误。 对实体进行编码,并将结果保存到外部文件中。
Decode(fileName: string)在 FOSS 版中未实现——运行时抛出异常。 从指定的流中解码点云或网格。
Decode(fileName: string, opt: PlyLoadOptions)在 FOSS 版中未实现——运行时抛出异常。 从指定的流中解码点云或网格。
Decode(stream: Stream)在 FOSS 版中未实现——运行时抛出异常。 从指定的流中解码点云或网格。
Decode(stream: Stream, opt: PlyLoadOptions)在 FOSS 版中未实现 — 在运行时抛出。 从指定的流中解码点云或网格。
GetFormatByExtension(extensionName: string)根据文件扩展名获取首选文件格式。扩展名应以点(’.’)开头。
Detect(fileName: string)通过文件名检测文件格式,文件必须可读取,以便 Aspose.3D 能够通过文件头检测文件格式。
Detect(stream: Stream, fileName: string)通过数据流检测文件格式,文件名是可选的,用于猜测没有魔数头的类型。
CreateLoadOptions()未在 FOSS 版中实现——在运行时抛出异常。 为此文件格式创建默认加载选项
CreateSaveOptions()在 FOSS 版中未实现 — 运行时抛出异常。 为此文件格式创建默认的保存选项
ToString()格式转为字符串

另请参阅

 中文