载入中...
搜索中...
未找到
eve::animation_editing::AnimationSkeletonOverlayAdapter类 参考

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.

参数
skeletonBorrowed skeleton.
poseBorrowed pose; only its derived world cache is updated.
targetStable editor target id.
revisionAuthoritative source revision.
selectedBoneOptional stable bone name to highlight.
retargetSource-name to target-name mapping; empty target marks unmatched.
maskOptional 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.


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