Navigation
API > API/Plugins > API/Plugins/PoseSearch > API/Plugins/PoseSearch/UPoseSearchLibrary
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static void UpdateMotionMatchingState
(
FChooserEvaluationContext* AnimContext, |
Implementation of the core motion matching algorithm | PoseSearch/PoseSearchLibrary.h | |
static void UpdateMotionMatchingState
(
const UObject* AnimContext, |
PoseSearch/PoseSearchLibrary.h | ||
static void UpdateMotionMatchingState
(
const FAnimationUpdateContext& Context, |
PoseSearch/PoseSearchLibrary.h |
UpdateMotionMatchingState(FChooserEvaluationContext , const UE::PoseSearch::IPoseHistory , const TConstArrayView< TObjectPtr< const UPoseSearchDatabase > >, float, const FFloatInterval &, float, float, const FFloatInterval &, FMotionMatchingState &, EPoseSearchInterruptMode, bool, bool, bool, const FPoseSearchEvent &)
Description
Implementation of the core motion matching algorithm
| Name | UpdateMotionMatchingState |
| Type | function |
| Header File | /Engine/Plugins/Animation/PoseSearch/Source/Runtime/Public/PoseSearch/PoseSearchLibrary.h |
| Include Path | #include "PoseSearch/PoseSearchLibrary.h" |
| Source | /Engine/Plugins/Animation/PoseSearch/Source/Runtime/Private/PoseSearchLibrary.cpp |
static void UpdateMotionMatchingState
(
FChooserEvaluationContext * AnimContext,
const UE::PoseSearch::IPoseHistory * PoseHistory,
const TConstArrayView< TObjectPtr < const UPoseSearchDatabase > > Databases,
float DeltaTime,
const FFloatInterval & PoseJumpThresholdTime,
float PoseReselectHistory,
float SearchThrottleTime,
const FFloatInterval & PlayRate,
FMotionMatchingState & InOutMotionMatchingState,
EPoseSearchInterruptMode InterruptMode,
bool bShouldUseCachedChannelData,
bool bDebugDrawQuery,
bool bDebugDrawCurResult,
const FPoseSearchEvent & EventToSearch
)
Parameters
| Name | Remarks |
|---|---|
| AnimContext | Input animation context, either UAnimInstance or UAnimNextComponent |
| PoseHistory | Input IPoseHistory, used to gather historical information about trajectory and bone transforms |
| Databases | Input array of databases to search |
| DeltaTime | Input DeltaTime |
| PoseJumpThresholdTime | Input don't jump to poses of the same segment that are within the interval this many seconds away from the continuing pose. |
| PoseReselectHistory | Input prevent re-selection of poses that have been selected previously within this much time (in seconds) in the past. This is across all animation segments that have been selected within this time range. |
| SearchThrottleTime | Input minimum amount of time to wait between searching for a new pose segment. It allows users to define how often the system searches, default for locomotion is searching every update, but you may only want to search once for other situations, like jump. |
| PlayRate | Input effective range of play rate that can be applied to the animations to account for discrepancies in estimated velocity between the movement modeland the animation. |
| InOutMotionMatchingState | Input/Output encapsulated motion matching algorithm and state |
| InterruptMode | Input continuing pose search interrupt mode |
| bShouldUseCachedChannelData | Input if true, motion matching will try to reuse the continuing pose channels features across multiple schemas without querying the pose history |
| bDebugDrawQuery | Input draw the composed query if valid |
| bDebugDrawCurResult | Input draw the current result if valid |
UpdateMotionMatchingState(const UObject , const UE::PoseSearch::IPoseHistory , const TConstArrayView< TObjectPtr< const UPoseSearchDatabase > >, float, const FFloatInterval &, float, float, const FFloatInterval &, FMotionMatchingState &, EPoseSearchInterruptMode, bool, bool, bool, const FPoseSearchEvent &)
| Name | UpdateMotionMatchingState |
| Type | function |
| Header File | /Engine/Plugins/Animation/PoseSearch/Source/Runtime/Public/PoseSearch/PoseSearchLibrary.h |
| Include Path | #include "PoseSearch/PoseSearchLibrary.h" |
| Source | /Engine/Plugins/Animation/PoseSearch/Source/Runtime/Private/PoseSearchLibrary.cpp |
static void UpdateMotionMatchingState
(
const UObject * AnimContext,
const UE::PoseSearch::IPoseHistory * PoseHistory,
const TConstArrayView< TObjectPtr < const UPoseSearchDatabase > > Databases,
float DeltaTime,
const FFloatInterval & PoseJumpThresholdTime,
float PoseReselectHistory,
float SearchThrottleTime,
const FFloatInterval & PlayRate,
FMotionMatchingState & InOutMotionMatchingState,
EPoseSearchInterruptMode InterruptMode,
bool bShouldUseCachedChannelData,
bool bDebugDrawQuery,
bool bDebugDrawCurResult,
const FPoseSearchEvent & EventToSearch
)
UpdateMotionMatchingState(const FAnimationUpdateContext &, const TArray< TObjectPtr< const UPoseSearchDatabase > > &, float, int32, const FFloatInterval &, float, float, const FFloatInterval &, FMotionMatchingState &, EPoseSearchInterruptMode, bool, bool, bool, bool)
| Name | UpdateMotionMatchingState |
| Type | function |
| Header File | /Engine/Plugins/Animation/PoseSearch/Source/Runtime/Public/PoseSearch/PoseSearchLibrary.h |
| Include Path | #include "PoseSearch/PoseSearchLibrary.h" |
| Source | /Engine/Plugins/Animation/PoseSearch/Source/Runtime/Private/PoseSearchLibrary.cpp |
static void UpdateMotionMatchingState
(
const FAnimationUpdateContext & Context,
const TArray < TObjectPtr < const UPoseSearchDatabase > > & Databases,
float BlendTime,
int32 MaxActiveBlends,
const FFloatInterval & PoseJumpThresholdTime,
float PoseReselectHistory,
float SearchThrottleTime,
const FFloatInterval & PlayRate,
FMotionMatchingState & InOutMotionMatchingState,
EPoseSearchInterruptMode InterruptMode,
bool bShouldSearch,
bool bShouldUseCachedChannelData,
bool bDebugDrawQuery,
bool bDebugDrawCurResult
)