class
FMotionQueryBuilder
Assembles a query in RAW feature units; the matcher normalizes it before the search. The pose block normally comes from the database frame currently playing (CopyPoseFromFrame) — the cheapest exact answer to "what is the body doing right now" while the character is being driven by the database itself.
- Module
- Animation
- Header
#include "Animation/MotionMatching.h"- Namespace
Mowo
Constructors
| Signature | Name | Description |
|---|---|---|
explicit FMotionQueryBuilder(const FMotionMatchingDatabase& database) | FMotionQueryBuilder |
Public functions
| Returns | Name | Description |
|---|---|---|
void | Clear | |
void | SetFuture | |
void | SetPast | |
void | SetPose | A pose set here (from FMotionPoseHistory) is what the matcher searches with; without one it copies the playing frame's pose. |
bool | HasPose | |
void | CopyPoseFromFrame | |
void | CopyTrajectoryFromFrame | |
void | CopyFromFrame | |
const std::vector<float>& | Raw | |
const std::vector<float>& | Normalized |
Function details
FMotionQueryBuilder
C++
explicit FMotionQueryBuilder(const FMotionMatchingDatabase& database)Clear
C++
void Clear()SetFuture
C++
void SetFuture(uint32_t index, const Vec2& position, const Vec2& direction)SetPast
C++
void SetPast(uint32_t index, const Vec2& position, const Vec2& direction)SetPose
C++
void SetPose(const float* poseBlock)A pose set here (from FMotionPoseHistory) is what the matcher searches with; without one it copies the playing frame's pose.
HasPose
C++
bool HasPose() constCopyPoseFromFrame
C++
void CopyPoseFromFrame(uint32_t frame)CopyTrajectoryFromFrame
C++
void CopyTrajectoryFromFrame(uint32_t frame)CopyFromFrame
C++
void CopyFromFrame(uint32_t frame)Raw
C++
const std::vector<float>& Raw() constNormalized
C++
const std::vector<float>& Normalized() constGenerated from Animation/MotionMatching.h via animation.json · Oct 26, 2026Version 1.0.0