Navigation
API > API/Plugins > API/Plugins/PoseSearch
Helper for sampling data from animation assets
| Name | FAnimationAssetSampler |
| Type | struct |
| Header File | /Engine/Plugins/Animation/PoseSearch/Source/Runtime/Public/PoseSearch/PoseSearchAssetSampler.h |
| Include Path | #include "PoseSearch/PoseSearchAssetSampler.h" |
Syntax
struct FAnimationAssetSampler
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FAnimationAssetSampler
(
const UAnimationAsset* InAnimationAsset, |
PoseSearch/PoseSearchAssetSampler.h | ||
| PoseSearch/PoseSearchAssetSampler.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
~FAnimationAssetSampler() |
PoseSearch/PoseSearchAssetSampler.h |
Enums
Public
| Name | Remarks |
|---|---|
| FAnimationAssetSampler |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void ExtractAnimNotifyStates
(
float Time, |
Extracts notify states present in the sequence at Time. | PoseSearch/PoseSearchAssetSampler.h | |
void ExtractPose
(
float Time, |
PoseSearch/PoseSearchAssetSampler.h | ||
void ExtractPose
(
float Time, |
Extracts pose for this asset at a given Time. | PoseSearch/PoseSearchAssetSampler.h | |
void ExtractPose
(
const FAnimExtractContext& ExtractionCtx, |
Extracts pose for this asset for a given context. | PoseSearch/PoseSearchAssetSampler.h | |
void ExtractPoseSearchNotifyStates
(
float Time, |
PoseSearch/PoseSearchAssetSampler.h | ||
FTransform ExtractRootTransform
(
float Time |
Extracts root transform at the given time, using the extremities of the sequence to extrapolate beyond the sequence limits when Time is less than zero or greater than the sequence length. | PoseSearch/PoseSearchAssetSampler.h | |
TConstArrayView< FAnimNotifyEvent > GetAllAnimNotifyEvents() |
PoseSearch/PoseSearchAssetSampler.h | ||
const UAnimationAsset * GetAsset() |
PoseSearch/PoseSearchAssetSampler.h | ||
float GetPlayLength () |
PoseSearch/PoseSearchAssetSampler.h | ||
const FTransform & GetRootTransformOrigin() |
PoseSearch/PoseSearchAssetSampler.h | ||
FTransform GetTotalRootTransform() |
Gets the final root transformation at the end of the asset's playback time. | PoseSearch/PoseSearchAssetSampler.h | |
void Init
(
const UAnimationAsset* InAnimationAsset, |
PoseSearch/PoseSearchAssetSampler.h | ||
bool IsInitialized() |
PoseSearch/PoseSearchAssetSampler.h | ||
bool IsLoopable() |
PoseSearch/PoseSearchAssetSampler.h | ||
void Process() |
PoseSearch/PoseSearchAssetSampler.h | ||
void SetRootTransformOrigin
(
const FTransform& InRootTransformOrigin |
PoseSearch/PoseSearchAssetSampler.h | ||
float ToNormalizedTime
(
float RealTime |
PoseSearch/PoseSearchAssetSampler.h | ||
float ToRealTime
(
float NormalizedTime |
PoseSearch/PoseSearchAssetSampler.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static float GetPlayLength
(
const UAnimationAsset* AnimAsset, |
PoseSearch/PoseSearchAssetSampler.h |