Navigation
API > API/Runtime > API/Runtime/Engine
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool UE::Anim::Compression::CompressAnimationDataTracks
(
TArray< FRawAnimSequenceTrack >& RawAnimationData, |
Compress the provided tracks using two methods. | Animation/AnimSequenceHelpers.h | |
bool UE::Anim::Compression::CompressAnimationDataTracks
(
const USkeleton* Skeleton, |
Compress the provided tracks using two methods. | Animation/AnimSequenceHelpers.h |
UE::Anim::Compression::CompressAnimationDataTracks(TArray< FRawAnimSequenceTrack > &, int32, FName, float, float, float)
Description
Compress the provided tracks using two methods.
Checking for uniform key data according to the provided error metrics
Setting number of scale keys to 0 if it is uniform and equal to FVector::OneVector
| Name | UE::Anim::Compression::CompressAnimationDataTracks |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Classes/Animation/AnimSequenceHelpers.h |
| Include Path | #include "Animation/AnimSequenceHelpers.h" |
| Source | /Engine/Source/Runtime/Engine/Private/Animation/AnimSequenceHelpers.cpp |
namespace UE
{
namespace Anim
{
namespace Compression
{
bool UE::Anim::Compression::CompressAnimationDataTracks
(
TArray < FRawAnimSequenceTrack > & RawAnimationData,
int32 NumberOfKeys,
FName ErrorName,
float MaxPosDiff,
float MaxAngleDiff,
float MaxScaleDiff
)
}
}
}
Whether or not the operation was succesful
Parameters
| Name | Remarks |
|---|---|
| RawAnimationData | Set of tracks to apply the reduction to |
| NumberOfKeys | Expected number of keys for each component within the tracks |
| ErrorName | Identifier for outer callsite when failing to reduce the data |
| MaxPosDiff | Maximum positional delta when determining whether or not two positional keys are identical |
| MaxAngleDiff | Maximum rotational delta when determining whether or not two rotational keys are identical |
UE::Anim::Compression::CompressAnimationDataTracks(const USkeleton *, const TArray< FTrackToSkeletonMap > &, TArray< FRawAnimSequenceTrack > &, int32, FName, float, float, float)
Description
Compress the provided tracks using two methods.
Checking for uniform key data according to the provided error metrics
Setting number of scale keys to 0 if it is uniform, equal to FVector::OneVector and matches the Skeleton reference bone pose(s)
| Name | UE::Anim::Compression::CompressAnimationDataTracks |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Classes/Animation/AnimSequenceHelpers.h |
| Include Path | #include "Animation/AnimSequenceHelpers.h" |
| Source | /Engine/Source/Runtime/Engine/Private/Animation/AnimSequenceHelpers.cpp |
namespace UE
{
namespace Anim
{
namespace Compression
{
bool UE::Anim::Compression::CompressAnimationDataTracks
(
const USkeleton * Skeleton,
const TArray < FTrackToSkeletonMap > & TrackToSkeleton,
TArray < FRawAnimSequenceTrack > & RawAnimationData,
int32 NumberOfKeys,
FName ErrorName,
float MaxPosDiff,
float MaxAngleDiff,
float MaxScaleDiff
)
}
}
}
Whether or not the operation was succesful
Parameters
| Name | Remarks |
|---|---|
| RawAnimationData | Set of tracks to apply the reduction to |
| NumberOfKeys | Expected number of keys for each component within the tracks |
| ErrorName | Identifier for outer callsite when failing to reduce the data |
| MaxPosDiff | Maximum positional delta when determining whether or not two positional keys are identical |
| MaxAngleDiff | Maximum rotational delta when determining whether or not two rotational keys are identical |