/Engine/Source/Runtime/Engine/Classes/Animation/AnimCompress_PerTrackCompression.h
Keyframe reduction algorithm that removes keys which are linear interpolations of surrounding keys, as well as choosing the best bitwise compression for each track independently.
class UAnimCompress_PerTrackCompression : public [UAnimCompress_RemoveLinearKeys](API\Runtime\Engine\Animation\UAnimCompress_RemoveLinearKeys)
TArray<TEnumAs...
AllowedRotationFormats
Which encoding formats is the per-track compressor allowed to try on rotation keys
TArray<TEnumAs...
AllowedScaleFormats
Which encoding formats is the per-track compressor allowed to try on scale keys
TArray<TEnumAs...
AllowedTranslationFormats
Which encoding formats is the per-track compressor allowed to try on translation keys
uint32: 1
bResampleAnimation
If true, resample the animation to ResampleFramerate frames per second
uint32: 1
bUseAdaptiveError
If true, adjust the error thresholds based on the 'height' within the skeleton
uint32: 1
bUseAdaptiveError2
If true, the adaptive error system will determine how much error to allow for each track, based on the error introduced in end effectors due to errors in the track.
uint32: 1
bUseOverrideForEndEffectors
If true, uses MinEffectorDiff as the threhsold for end effectors
float
MaxAngleDiffBitwise
Maximum angle difference to use when testing if an animation key may be removed.
float
MaxErrorPerTrackRatio
A fraction that determines how much of the total error budget can be introduced by any particular track
float
MaxPosDiffBitwise
Maximum position difference to use when testing if an animation key may be removed.
float
MaxScaleDiffBitwise
Maximum position difference to use when testing if an animation key may be removed.
float
MaxZeroingThreshold
Maximum threshold to use when replacing a component with zero.
int32
MinKeysForResampling
Animations with fewer keys than MinKeysForResampling will not be resampled.
float
ParentingDivisor
Reduces the error tolerance the further up the tree that a key occurs EffectiveErrorTolerance = Max(BaseErrorTolerance / Power(ParentingDivisor, Max(Height+Bias,0) * ParentingDivisorExponent), ZeroingThreshold) Only has an effect bUseAdaptiveError is true
float
ParentingDivisorExponent
Reduces the error tolerance the further up the tree that a key occurs EffectiveErrorTolerance = Max(BaseErrorTolerance / Power(ParentingDivisor, Max(Height+Bias,0) * ParentingDivisorExponent), ZeroingThreshold) Only has an effect bUseAdaptiveError is true
float
PerturbationProbeSize
How big of a perturbation should be made when probing error propagation
float
ResampledFramerate
When bResampleAnimation is true, this defines the desired framerate
float
RotationErrorSourceRatio
This ratio determines how much error in end effector rotation can come from a given track's rotation error or translation error.
float
ScaleErrorSourceRatio
This ratio determines how much error in end effector scale can come from a given track's rotation error or scale error.
int32
TrackHeightBias
A bias added to the track height before using it to calculate the adaptive error
float
TranslationErrorSourceRatio
This ratio determines how much error in end effector translation can come from a given track's rotation error or translation error.