Navigation
API > API/Plugins > API/Plugins/PoseSearch
Information about a source animation asset used by a search index. Some source animation entries may generate multiple FSearchIndexAsset entries.
| Name | FSearchIndexAsset |
| Type | struct |
| Header File | /Engine/Plugins/Animation/PoseSearch/Source/Runtime/Public/PoseSearch/PoseSearchIndex.h |
| Include Path | #include "PoseSearch/PoseSearchIndex.h" |
Syntax
struct FSearchIndexAsset
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FSearchIndexAsset
(
int32 InSourceAssetIdx, |
PoseSearch/PoseSearchIndex.h | ||
| PoseSearch/PoseSearchIndex.h | |||
FSearchIndexAsset
(
int32 InSourceAssetIdx, |
PoseSearch/PoseSearchIndex.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bDisableReselection | const bool | PoseSearch/PoseSearchIndex.h | ||
| BlendParameterX | const float | Fixed blend space patameters associated to this FSearchIndexAsset if SourceAssetIdx refers to a blend space | PoseSearch/PoseSearchIndex.h | |
| BlendParameterY | const float | PoseSearch/PoseSearchIndex.h | ||
| bLooping | const bool | PoseSearch/PoseSearchIndex.h | ||
| bMirrored | const bool | PoseSearch/PoseSearchIndex.h | ||
| FirstPoseIdx | const int32 | PoseSearch/PoseSearchIndex.h | ||
| FirstSampleIdx | const int32 | PoseSearch/PoseSearchIndex.h | ||
| LastSampleIdx | const int32 | PoseSearch/PoseSearchIndex.h | ||
| PermutationIdx | const int32 | PoseSearch/PoseSearchIndex.h | ||
| SourceAssetIdx | const int32 | Index of the source asset in search index's container (i.e. UPoseSearchDatabase) | PoseSearch/PoseSearchIndex.h | |
| ToRealTimeFactor | const float | If SourceAssetIdx refers to a blend space, the animation asset would be in a normalized time interval [0-1]. ToRealTimeFactor brings the normalized time to the real time for the fixed BlendParameterX/BlendParameterY | PoseSearch/PoseSearchIndex.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
int32 GetBeginSampleIdx() |
PoseSearch/PoseSearchIndex.h | ||
FVector GetBlendParameters() |
PoseSearch/PoseSearchIndex.h | ||
float GetDeltaTimeBetweenPoseIndexes
(
int32 FromPoseIdx, |
Calculates the delta time in seconds ToPoseIdx - FromPoseIdx | PoseSearch/PoseSearchIndex.h | |
int32 GetEndSampleIdx() |
PoseSearch/PoseSearchIndex.h | ||
FFloatInterval GetExtrapolationTimeInterval
(
int32 SchemaSampleRate, |
PoseSearch/PoseSearchIndex.h | ||
int32 GetFirstPoseIdx() |
PoseSearch/PoseSearchIndex.h | ||
float GetFirstSampleTime
(
int32 SchemaSampleRate |
PoseSearch/PoseSearchIndex.h | ||
float GetLastSampleTime
(
int32 SchemaSampleRate |
PoseSearch/PoseSearchIndex.h | ||
int32 GetNumPoses() |
PoseSearch/PoseSearchIndex.h | ||
int32 GetPermutationIdx() |
PoseSearch/PoseSearchIndex.h | ||
int32 GetPoseIndexFromTime
(
float RealTimeInSeconds, |
PoseSearch/PoseSearchIndex.h | ||
int32 GetSourceAssetIdx() |
PoseSearch/PoseSearchIndex.h | ||
float GetTimeFromPoseIndex
(
int32 PoseIdx, |
PoseSearch/PoseSearchIndex.h | ||
float GetToRealTimeFactor() |
PoseSearch/PoseSearchIndex.h | ||
bool IsDisableReselection() |
PoseSearch/PoseSearchIndex.h | ||
bool IsInitialized() |
PoseSearch/PoseSearchIndex.h | ||
bool IsLooping() |
PoseSearch/PoseSearchIndex.h | ||
bool IsMirrored() |
PoseSearch/PoseSearchIndex.h | ||
bool IsPoseInRange
(
int32 PoseIdx |
PoseSearch/PoseSearchIndex.h | ||
void IteratePoseIndexesOverTime
(
float StartTime, |
Iteractes over all the valid pose indexes contained in this FSearchIndexAsset from StartTime to EndTime, calling ProcessPoseIndex function on every pose accounting for looping | PoseSearch/PoseSearchIndex.h |
Operators
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool operator==
(
const FSearchIndexAsset& Other |
PoseSearch/PoseSearchIndex.h |