Navigation
API > API/Plugins > API/Plugins/PoseSearch
| Name | FPoseSearchDatabaseAnimationAsset |
| Type | struct |
| Header File | /Engine/Plugins/Animation/PoseSearch/Source/Runtime/Public/PoseSearch/PoseSearchDatabase.h |
| Include Path | #include "PoseSearch/PoseSearchDatabase.h" |
Syntax
USTRUCT (BlueprintType , Category="Animation|Pose Search")
struct FPoseSearchDatabaseAnimationAsset : public FPoseSearchDatabaseAnimationAssetBase
Inheritance Hierarchy
- FPoseSearchDatabaseAnimationAssetBase → FPoseSearchDatabaseAnimationAsset
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| AnimAsset | TObjectPtr< UObject > | PoseSearch/PoseSearchDatabase.h |
|
|
| BlendParamX | float | BlendParams used to sample this BlendSpace. | PoseSearch/PoseSearchDatabase.h |
|
| BlendParamY | float | BlendParams used to sample this BlendSpace. | PoseSearch/PoseSearchDatabase.h |
|
| bUseGridForSampling | bool | When turned on, this will use the set grid samples of the blend space asset for sampling. This will override the Number of Horizontal/Vertical Samples. | PoseSearch/PoseSearchDatabase.h |
|
| bUseSingleSample | bool | If true this BlendSpace will output a single segment in the database. | PoseSearch/PoseSearchDatabase.h |
|
| NumberOfHorizontalSamples | int32 | Sets the number of horizontal samples in the blend space to pull the animation data coverage from. The larger the samples the more the data, but also the more memory and performance it takes. | PoseSearch/PoseSearchDatabase.h |
|
| NumberOfVerticalSamples | int32 | Sets the number of vertical samples in the blend space to pull the animation data coverage from.The larger the samples the more the data, but also the more memory and performance it takes. | PoseSearch/PoseSearchDatabase.h |
|
| SamplingRange | FFloatInterval | It allows users to set a time range to an individual blend space in the database. | PoseSearch/PoseSearchDatabase.h |
|
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FVector BlendParameterForSampleRanges
(
int32 HorizontalBlendIndex, |
PoseSearch/PoseSearchDatabase.h | ||
void GetBlendSpaceParameterSampleRanges
(
int32& HorizontalBlendNum, |
PoseSearch/PoseSearchDatabase.h |
Overridden from FPoseSearchDatabaseAnimationAssetBase
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual UObject * GetAnimationAsset() |
PoseSearch/PoseSearchDatabase.h | ||
virtual UAnimationAsset * GetAnimationAssetForRole
(
const UE::PoseSearch::FRole& Role |
PoseSearch/PoseSearchDatabase.h | ||
virtual UClass * GetAnimationAssetStaticClass() |
PoseSearch/PoseSearchDatabase.h | ||
virtual FFloatInterval GetEffectiveSamplingRange
(
const FVector& BlendParameters |
PoseSearch/PoseSearchDatabase.h | ||
virtual int32 GetNumRoles() |
PoseSearch/PoseSearchDatabase.h | ||
virtual float GetPlayLength
(
const FVector& BlendParameters |
PoseSearch/PoseSearchDatabase.h | ||
virtual USkeletalMesh * GetPreviewMeshForRole
(
const UE::PoseSearch::FRole& Role |
Experimental, this feature might be removed without warning, not for production use. | PoseSearch/PoseSearchDatabase.h | |
virtual UE::PoseSearch::FRole GetRole
(
int32 RoleIndex |
PoseSearch/PoseSearchDatabase.h | ||
virtual FTransform GetRootTransformOriginForRole
(
const UE::PoseSearch::FRole& Role |
PoseSearch/PoseSearchDatabase.h | ||
virtual FFloatInterval GetSamplingRange() |
[0, 0] represents the entire frame range of the original animation. | PoseSearch/PoseSearchDatabase.h | |
virtual bool IsLooping () |
PoseSearch/PoseSearchDatabase.h | ||
virtual bool IsRootMotionEnabled () |
PoseSearch/PoseSearchDatabase.h | ||
virtual void IterateOverSamplingParameter
(
const TFunction< void(const FVector&BlendParameters)>& ProcessSamplingParameter |
PoseSearch/PoseSearchDatabase.h | ||
virtual void SetSamplingRange
(
const FFloatInterval& NewRange |
PoseSearch/PoseSearchDatabase.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static bool IsLooping
(
const UObject* AnimAsset, |
PoseSearch/PoseSearchDatabase.h | ||
static bool IsRootMotionEnabled
(
const UObject* AnimAsset |
PoseSearch/PoseSearchDatabase.h |