slot 0.0.1
A real time UI render framework
载入中...
搜索中...
未找到
静态 Public 成员函数 | 所有成员列表
z8::FbxImporter类 参考

将 ASCII FBX 7.x 的 Geometry 数据转换为渲染网格。 更多...

#include <FbxImporter.h>

类 z8::FbxImporter 继承关系图:
Inheritance graph
[图例]
z8::FbxImporter 的协作图:
Collaboration graph
[图例]

静态 Public 成员函数

static FbxMeshImportResult Parse (const std::filesystem::path &fileName, const FbxImportOptions &options={})
 
static FbxMeshImportResult ParseText (std::string_view source, std::string_view meshName="FBX", const FbxImportOptions &options={})
 

额外继承的成员函数

- Private 成员函数 继承自 z8::MeshImporter
BaseMesh Parse (std::string FileName)
 

详细描述

将 ASCII FBX 7.x 的 Geometry 数据转换为渲染网格。

导入器处理多 Geometry、任意多边形、控制点/多边形顶点属性映射及 Direct/IndexToDirect 引用。二进制 FBX 需要完整 SDK/ufbx,当前会明确拒绝, 而不是把二进制内容误当文本并生成损坏网格。

成员函数说明

◆ Parse()

FbxMeshImportResult z8::FbxImporter::Parse ( const std::filesystem::path & fileName,
const FbxImportOptions & options = {} )
static

从磁盘读取并解析 FBX。

函数调用图:

◆ ParseText()

FbxMeshImportResult z8::FbxImporter::ParseText ( std::string_view source,
std::string_view meshName = "FBX",
const FbxImportOptions & options = {} )
static

从内存解析,供资源管线和无需临时文件的单元测试复用。

这是这个函数的调用关系图:

该类的文档由以下文件生成: