Navigation
Unreal Engine C++ API Reference > Runtime > Engine > Animation
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UAnimBoneCompressionCodec
- UAnimCompress
- UAnimCompress_RemoveTrivialKeys
References
Module | Engine |
Header | /Engine/Source/Runtime/Engine/Classes/Animation/AnimCompress_RemoveTrivialKeys.h |
Include | #include "Animation/AnimCompress_RemoveTrivialKeys.h" |
Syntax
class UAnimCompress_RemoveTrivialKeys : public UAnimCompress
Remarks
Removes trivial frames frames of tracks when position or orientation is constant over the entire animation from the raw animation data. If both position and rotation go down to a single frame, the time is stripped out as well.
Variables
Type | Name | Description | |
---|---|---|---|
![]() |
float | MaxAngleDiff | |
![]() |
float | MaxPosDiff | |
![]() |
float | MaxScaleDiff |
Constructors
Type | Name | Description | |
---|---|---|---|
![]() |
UAnimCompress_RemoveTrivialKeys
(
const FObjectInitializer& ObjectInitializer |
Overridden from UAnimCompress
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
bool | DoReduction
(
const FCompressibleAnimData& CompressibleAnimData, |
Implemented by child classes, this function reduces the number of keyframes in the specified sequence, given the specified skeleton (if needed). |
Overridden from UAnimBoneCompressionCodec
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
void | PopulateDDCKey
(
const UE::Anim::Compression::FAnimDDCKeyArgs& KeyArgs, |
Called to generate a unique DDC key for this codec instance and input anim sequence and TargetPlatform A suitable key should be generated from: the InstanceGuid, a codec version, and all relevant properties that drive the behavior. |