| UObjectBase
|
Module |
|
Header |
/Engine/Source/Runtime/Engine/Classes/Animation/AnimCompress_PerTrackCompression.h |
Include |
#include "Animation/AnimCompress_PerTrackCompression.h" |
class UAnimCompress_PerTrackCompression : public UAnimCompress_RemoveLinearKeys
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.
Name | Description | ||
---|---|---|---|
|
AllowedRotationFormats |
Which encoding formats is the per-track compressor allowed to try on rotation keys |
|
|
AllowedScaleFormats |
Which encoding formats is the per-track compressor allowed to try on scale keys |
|
|
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. |
|
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. |
|
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. |
Name | Description | |
---|---|---|
|
UAnimCompress_PerTrackCompression ( |
Name | Description | ||
---|---|---|---|
|
CompressUsingUnderlyingCompressor ( |
Compresses the tracks passed in using the underlying compressor for this key removal codec |
|
|
void * |
FilterBeforeMainKeyRemoval ( |
Pre-filters the tracks before running the main key removal algorithm |
Name | Description | ||
---|---|---|---|
|
DoReduction ( |
Implemented by child classes, this function reduces the number of keyframes in the specified sequence, given the specified skeleton (if needed). |
Name | Description | ||
---|---|---|---|
|
DecompressBone ( |
Decompress a single bone. |
|
|
PopulateDDCKey ( |
Called to generate a unique DDC key for this codec instance. |
Name | Description | ||
---|---|---|---|
|
PostEditChangeProperty ( |
Called when a property on this object has been modified externally |