Navigation
API > API/Plugins > API/Plugins/PoseSearch > API/Plugins/PoseSearch/UPoseSearchInteractionAsset
Description
Calculates the full aligned root bone transforms (FullAlignedActorRootBoneTransforms) at time "Time + TimeOffset" given the current actors root bone transforms (ActorRootBoneTransforms) at "Time" the mirror data tables. DebugAnimContexts can be used to draw debug lines For example if the actors are playing the associated GetAnimationAsset(Role) at time Time, by providing the ActorRootBoneTransforms and an TimeOffset of zero, CalculateWarpTransforms will return the FullAlignedActorRootBoneTransforms should be NOW to be in full alignment. Any TimeOffset > 0 will have the method returning a future FullAlignedActorRootBoneTransforms. This is useful in synergy with Motion Warping to provide a transform to use as full aligment at the ned of the notify state time
Virtual Inheritance
- UMultiAnimAsset::CalculateWarpTransforms → UPoseSearchInteractionAsset::CalculateWarpTransforms
| Name | CalculateWarpTransforms |
| Type | function |
| Header File | /Engine/Plugins/Animation/PoseSearch/Source/Runtime/Public/PoseSearch/PoseSearchInteractionAsset.h |
| Include Path | #include "PoseSearch/PoseSearchInteractionAsset.h" |
| Source | /Engine/Plugins/Animation/PoseSearch/Source/Runtime/Private/PoseSearchInteractionAsset.cpp |
virtual void CalculateWarpTransforms
(
float Time,
float TimeOffset,
const TConstArrayView< const FTransform > ActorRootBoneTransforms,
TArrayView < FTransform > FullAlignedActorRootBoneTransforms,
const TConstArrayView< const UMirrorDataTable * > MirrorDataTables,
const TConstArrayView< TObjectPtr < const UObject > > DebugAnimContexts
) const