DracoFormat
概述
DracoFormat 是 Aspose.3D FOSS 中用于 .NET 的类。继承自:FileFormat。
Google Draco 格式
此类提供 11 个方法,用于在 .NET 程序中处理 DracoFormat 对象。可用的方法包括:CreateLoadOptions、CreateSaveOptions、Decode、Detect、Encode、GetFormatByExtension、ToString。在安装了 Aspose.3D FOSS for .NET 包之后,所有公共成员对任何 .NET 应用程序均可访问。属性:AMF、ASE、Aspose3DWeb、Blender、CanExport、CanImport,以及另外 52 项。
属性
| 名称 | 类型 | 访问 | 描述 |
|---|---|---|---|
Formats | IList<FileFormat> | 读取 | 访问所有受支持的格式 |
Version | Version | 读取 | 获取文件格式版本 |
CanExport | bool | 读取 | 获取 Aspose.3D 是否支持将场景导出为当前文件格式。 |
CanImport | bool | 读取 | 获取 Aspose.3D 是否支持从当前文件格式导入场景。 |
Extension | string | 读取 | 获取此类型的扩展名。 |
Extensions | string[] | 读取 | 获取此类型的扩展名。 |
ContentType | FileContentType | 读取 | 获取文件格式内容类型 |
FileFormatType | FileFormatType | 读取 | 获取文件格式类型 |
FBX6100ASCII | FileFormat | 读取 | 获取 fbx6100 ascii。 |
FBX6100Binary | FileFormat | 读取 | 获取 fbx6100 二进制。 |
FBX7200ASCII | FileFormat | 读取 | 获取 fbx7200 ascii。 |
FBX7200Binary | FileFormat | 读取 | 获取 fbx7200 二进制。 |
FBX7300ASCII | FileFormat | 读取 | 获取 fbx7300 ascii。 |
FBX7300Binary | FileFormat | 读取 | 获取 fbx7300 二进制。 |
FBX7400ASCII | FileFormat | 读取 | 获取 fbx7400 ascii。 |
FBX7400Binary | FileFormat | 读取 | 获取 fbx7400 二进制。 |
FBX7500ASCII | FileFormat | 读取 | 获取 fbx7500 ascii。 |
FBX7500Binary | FileFormat | 读取 | 获取 fbx7500 二进制。 |
FBX7600ASCII | FileFormat | 读取 | 获取 fbx7600 ascii。 |
FBX7600Binary | FileFormat | 读取 | 获取 fbx7600 二进制。 |
FBX7700ASCII | FileFormat | 读取 | 获取 fbx7700 ascii。 |
FBX7700Binary | FileFormat | 读取 | 获取 fbx7700 二进制。 |
MayaASCII | FileFormat | 读取 | 获取 maya ascii。 |
MayaBinary | FileFormat | 读取 | 获取 maya 二进制。 |
STLBinary | FileFormat | 读取 | 获取 stl 二进制。 |
STLASCII | FileFormat | 读取 | 获取 stlascii。 |
WavefrontOBJ | FileFormat | 读取 | 获取 wavefront obj。 |
Collada | FileFormat | 读取 | 获取 collada。 |
Universal3D | FileFormat | 读取 | 获取 universal3 d。 |
GLTF | FileFormat | 读取 | 获取 gltf。 |
GLTF2 | FileFormat | 读取 | 获取 gltf2。 |
GLTF_Binary | FileFormat | 读取 | 获取 gltf 二进制。 |
GLTF2_Binary | FileFormat | 读取 | 获取 gltf2 二进制。 |
PDF | Formats.PdfFormat | 读取 | 获取 pdf。 |
PLY | Formats.PlyFormat | 读取 | 获取 ply。 |
Microsoft3MF | Formats.Microsoft3MFFormat | 读取 | 获取 microsoft3 mf。 |
Draco | Formats.DracoFormat | 读取 | 获取 draco。 |
RvmText | Formats.RvmFormat | 读取 | 获取 rvm 文本。 |
RvmBinary | Formats.RvmFormat | 读取 | 获取 rvm 二进制文件。 |
Blender | FileFormat | 读取 | 获取 blender。 |
DXF | FileFormat | 读取 | 获取 dxf。 |
XBinary | FileFormat | 读取 | 获取 x 二进制。 |
XText | FileFormat | 读取 | 获取 x 文本。 |
ASE | FileFormat | 读取 | 获取 ase。 |
IFC | FileFormat | 读取 | 获取 ifc。 |
SiemensJT8 | FileFormat | 读取 | 获取 siemens jt8。 |
SiemensJT9 | FileFormat | 读取 | 获取 siemens jt9。 |
AMF | FileFormat | 读取 | 获取 amf。 |
VRML | FileFormat | 读取 | 获取 vrml。 |
Aspose3DWeb | FileFormat | 读取 | 获取 aspose3 d web。 |
HTML5 | FileFormat | 读取 | 获取 html5。 |
Zip | FileFormat | 读取 | 获取 zip。 |
USD | FileFormat | 读取 | 获取 usd。 |
USDA | FileFormat | 读取 | 获取 usda。 |
USDZ | FileFormat | 读取 | 获取 usdz。 |
Xyz | FileFormat | 读取 | 获取 xyz。 |
Pcd | FileFormat | 读取 | 获取 pcd。 |
PcdBinary | FileFormat | 读取 | 获取 pcd 二进制。 |
方法
| 签名 | 描述 |
|---|---|
Decode(fileName: string) | 在 FOSS 版中未实现 — 运行时抛出异常。 从指定的文件名解码点云或网格 |
Decode(data: byte[]) | 在 FOSS 版中未实现 — 运行时抛出异常。 在此 DracoFormat 实例上调用 Decode(data)。 |
Encode(entity: Entity, stream: Stream, options: DracoSaveOptions) | 未在 FOSS 版中实现 — 在运行时抛出错误。 将实体编码到指定的流 |
Encode(entity: Entity, fileName: string, options: DracoSaveOptions) | 未在 FOSS 版中实现 — 在运行时抛出错误。 将实体编码到指定的文件 |
Encode(entity: Entity, options: DracoSaveOptions) | 未在 FOSS 版中实现 — 在运行时抛出错误。 将实体编码为 Draco 原始数据 |
GetFormatByExtension(extensionName: string) | 从文件扩展名获取首选文件格式。扩展名应以点(’.’)开头。 |
Detect(fileName: string) | 从文件名检测文件格式,文件必须是可读的,以便 Aspose.3D 能通过文件头检测文件格式。 |
Detect(stream: Stream, fileName: string) | 从数据流检测文件格式,文件名是可选的,用于猜测没有魔术头的类型。 |
CreateLoadOptions() | 在 FOSS 版中未实现——运行时抛出异常。 为此文件格式创建默认的加载选项 |
CreateSaveOptions() | 在 FOSS 版中未实现——运行时抛出异常。 为此文件格式创建默认的保存选项 |
ToString() | 格式化为字符串 |