Navigation
API > API/Plugins > API/Plugins/PoseSearch
| Name | FAssetIndexer |
| Type | class |
| Header File | /Engine/Plugins/Animation/PoseSearch/Source/Runtime/Public/PoseSearch/PoseSearchAssetIndexer.h |
| Include Path | #include "PoseSearch/PoseSearchAssetIndexer.h" |
Syntax
class FAssetIndexer
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FAssetIndexer
(
const TConstArrayView< FBoneContainer > InBoneContainers, |
PoseSearch/PoseSearchAssetIndexer.h |
Structs
| Name | Remarks |
|---|---|
| FCachedCSPose | |
| FCachedEntry | |
| FStats |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| AssetSamplers | const FAnimationAssetSamplers | PoseSearch/PoseSearchAssetIndexer.h | ||
| BoneContainers | TArray< FBoneContainer > | PoseSearch/PoseSearchAssetIndexer.h | ||
| bProcessFailed | bool | PoseSearch/PoseSearchAssetIndexer.h | ||
| CachedEntries | TMap< float, FCachedEntry > | PoseSearch/PoseSearchAssetIndexer.h | ||
| EventDataCollector | FEventDataCollector | PoseSearch/PoseSearchAssetIndexer.h | ||
| ExtrapolationTimeInterval | FFloatInterval | PoseSearch/PoseSearchAssetIndexer.h | ||
| FeatureVectorTable | TArrayView< float > | PoseSearch/PoseSearchAssetIndexer.h | ||
| PoseMetadata | TArrayView< FPoseMetadata > | PoseSearch/PoseSearchAssetIndexer.h | ||
| RoleToIndex | const FRoleToIndex | NoTe: mapping Role to the index of the associated asset that this FAssetIndexer is indexing. | PoseSearch/PoseSearchAssetIndexer.h | |
| SamplingContext | const FAssetSamplingContext & | PoseSearch/PoseSearchAssetIndexer.h | ||
| Schema | const UPoseSearchSchema & | PoseSearch/PoseSearchAssetIndexer.h | ||
| SearchIndexAsset | const FSearchIndexAsset & | PoseSearch/PoseSearchAssetIndexer.h | ||
| StartPoseIdx | int32 | PoseSearch/PoseSearchAssetIndexer.h | ||
| Stats | FStats | PoseSearch/PoseSearchAssetIndexer.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void AssignWorkingData
(
int32 InStartPoseIdx, |
PoseSearch/PoseSearchAssetIndexer.h | ||
float CalculatePermutationTimeOffset() |
PoseSearch/PoseSearchAssetIndexer.h | ||
float CalculateSampleTime
(
int32 SampleIdx |
PoseSearch/PoseSearchAssetIndexer.h | ||
void CompareCachedEntries
(
const FAssetIndexer& Other |
PoseSearch/PoseSearchAssetIndexer.h | ||
const FString GetAssetName() |
PoseSearch/PoseSearchAssetIndexer.h | ||
int32 GetBeginSampleIdx() |
PoseSearch/PoseSearchAssetIndexer.h | ||
int32 GetEndSampleIdx() |
PoseSearch/PoseSearchAssetIndexer.h | ||
const FEventDataCollector & GetEventDataCollector() |
Experimental, this feature might be removed without warning, not for production use. | PoseSearch/PoseSearchAssetIndexer.h | |
int32 GetNumIndexedPoses() |
PoseSearch/PoseSearchAssetIndexer.h | ||
float GetPlayLength() |
PoseSearch/PoseSearchAssetIndexer.h | ||
TArrayView< float > GetPoseVector
(
int32 SampleIdx |
PoseSearch/PoseSearchAssetIndexer.h | ||
bool GetSampleCurveValue
(
float& OutCurveValue, |
Returns the value of float curve CurveName at time CalculateSampleTime(SampleIdx) + SampleTimeOffset. | PoseSearch/PoseSearchAssetIndexer.h | |
bool GetSamplePosition
(
FVector& OutSamplePosition, |
Returns OutSamplePosition as the position of the bone Schema.BoneReferences[SchemaSampleBoneIdx] at time CalculateSampleTime(SampleIdx) + SampleTimeOffset relative to the transform of the bone Schema.BoneReferences[SchemaOriginBoneIdx] at time CalculateSampleTime(SampleIdx) + OriginTimeOffset. | PoseSearch/PoseSearchAssetIndexer.h | |
bool GetSampleRotation
(
FQuat& OutSampleRotation, |
Returns OutSampleRotation as the rotation of the bone Schema.BoneReferences[SchemaSampleBoneIdx] at time CalculateSampleTime(SampleIdx) + SampleTimeOffset relative to the transform of the bone Schema.BoneReferences[SchemaOriginBoneIdx] at time CalculateSampleTime(SampleIdx) + OriginTimeOffset Times will be processed by GetPermutationTimeOffsets(PermutationTimeType, ...) | PoseSearch/PoseSearchAssetIndexer.h | |
bool GetSampleVelocity
(
FVector& OutSampleVelocity, |
Returns OutSampleVelocity as the delta velocity of the bone Schema.BoneReferences[SchemaSampleBoneIdx] velocity at time CalculateSampleTime(SampleIdx) + SampleTimeOffset minus the velocity of the bone Schema.BoneReferences[SchemaOriginBoneIdx] at time CalculateSampleTime(SampleIdx) + OriginTimeOffset. | PoseSearch/PoseSearchAssetIndexer.h | |
const UPoseSearchSchema * GetSchema() |
PoseSearch/PoseSearchAssetIndexer.h | ||
const FStats & GetStats() |
PoseSearch/PoseSearchAssetIndexer.h | ||
bool IsProcessFailed() |
PoseSearch/PoseSearchAssetIndexer.h | ||
void Process
(
int32 AssetIdx |
PoseSearch/PoseSearchAssetIndexer.h | ||
bool ProcessAllAnimNotifyEvents
(
const TFunction< bool(TConstArrayView< FAnimNotifyEvent >)>& ProcessAnimNotifyEvents |
PoseSearch/PoseSearchAssetIndexer.h |