Choose your operating system:
Windows
macOS
Linux
Module |
|
Header |
/Engine/Plugins/Experimental/Animation/PoseSearch/Source/Runtime/Public/PoseSearch/PoseSearchLibrary.h |
Include |
#include "PoseSearch/PoseSearchLibrary.h" |
Source |
/Engine/Plugins/Experimental/Animation/PoseSearch/Source/Runtime/Private/PoseSearchLibrary.cpp |
void UpdateMotionMatchingState
(
const FAnimationUpdateContext & Context,
const UPoseSearchDatabase * Database,
const FTrajectorySampleRange & Trajectory,
const FMotionMatchingSettings & Settings,
FMotionMatchingState & InOutMotionMatchingState
)
Implementation of the core motion matching algorithm
Parameter |
Description |
---|---|
UpdateContext |
Input animation update context providing access to the proxy and delta time |
Database |
Input collection of animations for motion matching |
Trajectory |
Input motion trajectory samples for pose search queries |
Settings |
Input motion matching algorithm configuration settings |
InOutMotionMatchingState |
Input/Output encapsulated motion matching algorithm and state |
bOutJumpedToPose |
Output motion matching decision to 'jump' to a new pose/sequence index in the database |