Owned ordered inputs for Pcg's skinned MeshCombiner path. 更多...
#include <PcgSkinnedMesh.h>
Public 成员函数 | |
| Result< void > | appendSource (const procgen::MeshBuild &mesh, const animation::AnimSkin &skin, const procgen::PcgMeshTransform &transform, const std::string &defaultMaterialId) |
| Copy one mesh, transform and complete skin streams into the plan. | |
| void | clear () noexcept |
| Remove all sources. | |
| int | getSourceCount () const noexcept |
| Return the ordered source count. | |
友元 | |
| EVENGINE_API_ORCHESTRATION Result< void > | combinePcgSkinnedMeshesInto (class PcgSkinnedMeshResult &, const PcgSkinnedMeshPlan &) |
| Combine Pcg skinned meshes, preserving its bone and bindpose remap semantics. | |
详细描述
Owned ordered inputs for Pcg's skinned MeshCombiner path.
在文件 PcgSkinnedMesh.h 第 14 行定义.
成员函数说明
◆ appendSource()
| Result< void > eve::procgen_animation::PcgSkinnedMeshPlan::appendSource | ( | const procgen::MeshBuild & | mesh, |
| const animation::AnimSkin & | skin, | ||
| const procgen::PcgMeshTransform & | transform, | ||
| const std::string & | defaultMaterialId | ||
| ) |
Copy one mesh, transform and complete skin streams into the plan.
在文件 PcgSkinnedMesh.cpp 第 14 行定义.
引用了 element, eve::Diagnostic::error(), eve::Result< T >::failure(), eve::animation::AnimSkin::getBoneCount(), eve::animation::AnimSkin::getInverseBindElement(), eve::animation::AnimSkin::getSkeletonBone(), eve::animation::AnimSkin::getSkinBoneName(), eve::animation::AnimSkin::getVertexCount(), eve::animation::AnimSkin::getVertexSkinJoint(), eve::animation::AnimSkin::getVertexWeight(), eve::InvalidArgument, eve::animation::AnimSkin::kMaxInfluences, mesh , 以及 eve::Result< T >::success().
◆ clear()
|
inlinenoexcept |
Remove all sources.
在文件 PcgSkinnedMesh.h 第 22 行定义.
◆ getSourceCount()
|
inlinenoexcept |
Return the ordered source count.
在文件 PcgSkinnedMesh.h 第 24 行定义.
友元及相关函数文档
◆ combinePcgSkinnedMeshesInto
|
friend |
Combine Pcg skinned meshes, preserving its bone and bindpose remap semantics.
- 参数
-
output Replaced only after both mesh and skin validate completely. plan Immutable owning sources.
- 返回
- Success or a structured diagnostic without changing output. @thread Synchronous CPU operation; callers serialize output access.
在文件 PcgSkinnedMesh.cpp 第 50 行定义.
该类的文档由以下文件生成:
- src/modules/procgen/animation/PcgSkinnedMesh.h
- src/modules/procgen/animation/PcgSkinnedMesh.cpp