Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/Animation > API/Runtime/Engine/Animation/UE__Anim__Compression__CompressR-
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Classes/Animation/AnimSequenceHelpers.h |
| Include | #include "Animation/AnimSequenceHelpers.h" |
| Source | /Engine/Source/Runtime/Engine/Private/Animation/AnimSequenceHelpers.cpp |
namespace UE
{
namespace Anim
{
namespace Compression
{
bool UE::Anim::Compression::CompressRawAnimSequenceTrack
(
FRawAnimSequenceTrack & RawTrack,
int32 NumberOfKeys,
FName ErrorName,
float MaxPosDiff,
float MaxAngleDiff
)
}
}
}
Remarks
Compress the provided track by checking for uniform key data according to the provided error metrics Whether or not the operation was succesful
Parameters
| Name | Description |
|---|---|
| RawTrack | Individual track 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 |