Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/Animation > API/Runtime/Engine/Animation/IPoseSearchProvider > API/Runtime/Engine/Animation/IPoseSearchProvider/Search
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Public/Animation/AnimPoseSearchProvider.h |
| Include | #include "Animation/AnimPoseSearchProvider.h" |
FSearchResult Search
(
const FAnimationBaseContext & GraphContext,
TArrayView < const UObject * > AssetsToSearch,
const FSearchPlayingAsset & PlayingAsset,
const FSearchFutureAsset & FutureAsset
) const
Remarks
Finds a matching pose in the input Object given the current graph context FSearchResult The search result identifying the asset from AssetsToSearch or PlayingAsset that most closely matches the query
Parameters
| Name | Description |
|---|---|
| GraphContext | Graph execution context used to construct a pose search query |
| AssetsToSearch | The assets to search for the pose query |
| PlayingAsset.Asset | The currently playing asset, used to bias the score of the eventually found continuing pose |
| PlayingAsset.AccumulatedTime | The accumulated time of the currently playing asset |
| FutureAsset.Asset | The asset that will play in the future after FutureAssetIntervalTime seconds |
| FutureAsset.AccumulatedTime | The FutureAsset accumulated time in seconds when it'll start play |
| FutureAsset.IntervalTime | The requested time interval before FutureAsset will start playing at FutureAssetAccumulatedTime |