Optional bridge extracting an overlay from a real animation pose. 更多...
#include <SkeletonOverlay.h>
Public 成员函数 | |
| editing::GizmoSnapshot | build (animation::AnimSkeleton *skeleton, animation::AnimPose *pose, std::string target, Revision revision, const std::string &selectedBone={}, const std::map< std::string, std::string > &retarget={}, const std::map< std::string, double > &mask={}, const SkeletonOverlayOptions &options={}) const |
| Compute pose world cache and build an immutable overlay. | |
详细描述
Optional bridge extracting an overlay from a real animation pose.
在文件 SkeletonOverlay.h 第 59 行定义.
成员函数说明
◆ build()
| editing::GizmoSnapshot eve::animation_editing::AnimationSkeletonOverlayAdapter::build | ( | animation::AnimSkeleton * | skeleton, |
| animation::AnimPose * | pose, | ||
| std::string | target, | ||
| Revision | revision, | ||
| const std::string & | selectedBone = {}, |
||
| const std::map< std::string, std::string > & | retarget = {}, |
||
| const std::map< std::string, double > & | mask = {}, |
||
| const SkeletonOverlayOptions & | options = {} |
||
| ) | const |
Compute pose world cache and build an immutable overlay.
- 参数
-
skeleton Borrowed skeleton. pose Borrowed pose; only its derived world cache is updated. target Stable editor target id. revision Authoritative source revision. selectedBone Optional stable bone name to highlight. retarget Source-name to target-name mapping; empty target marks unmatched. mask Optional normalized per-bone blend mask.
在文件 SkeletonOverlayRuntime.cpp 第 8 行定义.
引用了 bone, bones, eve::animation_editing::SkeletonOverlayBuilder::build(), eve::editing::GizmoSnapshot::diagnostics, eve::animation::AnimSkeleton::getBoneCount(), eve::animation::AnimSkeleton::getBoneName(), eve::animation::AnimSkeleton::getParent(), index, mask, eve::animation_editing::Matched, eve::animation_editing::SkeletonOverlayBone::name, options, parent, pose, eve::PreconditionViolation, revision, eve::editing::ruleDiagnostic(), target, eve::editing::GizmoSnapshot::target, eve::editing::GizmoSnapshot::targetRevision, eve::animation_editing::Unmatched , 以及 weight.
该类的文档由以下文件生成:
- src/modules/animation/editing/SkeletonOverlay.h
- src/modules/animation/editing/SkeletonOverlayRuntime.cpp