Navigation
API > API/Plugins > API/Plugins/PoseSearch > API/Plugins/PoseSearch/FAssetIndexer
Description
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. Times will be processed by GetPermutationTimeOffsets(PermutationTimeType, ...)
| Name | GetSamplePosition |
| Type | function |
| Header File | /Engine/Plugins/Animation/PoseSearch/Source/Runtime/Public/PoseSearch/PoseSearchAssetIndexer.h |
| Include Path | #include "PoseSearch/PoseSearchAssetIndexer.h" |
| Source | /Engine/Plugins/Animation/PoseSearch/Source/Runtime/Private/PoseSearchAssetIndexer.cpp |
bool GetSamplePosition
(
FVector & OutSamplePosition,
float SampleTimeOffset,
float OriginTimeOffset,
int32 SampleIdx,
int8 SchemaSampleBoneIdx,
int8 SchemaOriginBoneIdx,
const FRole & SampleRole,
const FRole & OriginRole,
EPermutationTimeType PermutationTimeType,
int32 SamplingAttributeId
)