载入中...
搜索中...
未找到
MotionMatcherSelection.cpp
浏览该文件的文档.
12 eve::Diagnostic::error(eve::DiagnosticCode::InvalidArgument, message, "candidateRanges", {}, "animation"));
86 if (database_->hasLocomotionFeatures() || database_->hasFeatureLayout() || pose.getBoneCount() != pose_.getBoneCount())
96 if (database_->hasLocomotionFeatures() || database_->hasFeatureLayout() || samples.size() != 3 || std::any_of(samples.begin(), samples.end(), [](const auto& s) {
static Diagnostic error(DiagnosticCode code, std::string message, std::string path={}, DiagnosticDetails details={}, std::string source={})
Construct an error diagnostic with the standard error severity.
Definition Diagnostic.h:125
static Result failure(Status status)
Construct a failed result from a structured status.
Definition Result.h:175
static Status success(StatusCode code=StatusCode::Ok)
Construct a successful status with an explicit non-error outcome.
Definition Status.h:81
Evaluated local (and optional world) pose for an AnimSkeleton. Script type: AnimPose.
Definition AnimPose.h:17
bool hasFeatureLayout() const
Whether this database uses an explicitly configured variable layout.
Definition MotionDatabaseSchema.cpp:14
const Frame & frameAt(int index) const
Definition MotionDatabase.cpp:275
bool hasLocomotionFeatures() const
Whether this database uses the 30-dimensional locomotion layout.
Definition MotionDatabase.h:71
eve::Result< void > setQueryPose(const AnimPose &pose)
Copy the character's current local pose for the next search, including action handoffs.
Definition MotionMatcherSelection.cpp:85
eve::Result< int > setCandidateRanges(std::span< const MotionSearchRange > ranges)
Atomically replace searchable intervals, retaining original database frame IDs.
Definition MotionMatcherSelection.cpp:9
eve::Result< void > setTrajectory(std::span< const MotionTrajectorySample > samples)
Set predictions at 0.33, 0.66, and 1.0 seconds instead of constant-velocity prediction.
Definition MotionMatcherSelection.cpp:95
Definition Animation.cpp:58
@ InvalidArgument
@ Applied