Navigation
API > API/Runtime > API/Runtime/Engine
Keyframe reduction algorithm that simply removes every second key.
| Name | UAnimCompress_RemoveEverySecondKey |
| Type | class |
| Header File | /Engine/Source/Runtime/Engine/Classes/Animation/AnimCompress_RemoveEverySecondKey.h |
| Include Path | #include "Animation/AnimCompress_RemoveEverySecondKey.h" |
Syntax
UCLASS (MinimalAPI)
class UAnimCompress_RemoveEverySecondKey : public UAnimCompress
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UAnimBoneCompressionCodec → UAnimCompress → UAnimCompress_RemoveEverySecondKey
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
UAnimCompress_RemoveEverySecondKey
(
const FObjectInitializer& ObjectInitializer |
Animation/AnimCompress_RemoveEverySecondKey.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bStartAtSecondKey | uint32 | If bStartAtSecondKey is true, remove keys 1,3,5,etc. | Animation/AnimCompress_RemoveEverySecondKey.h |
|
| MinKeys | int32 | Animations with fewer than MinKeys will not lose any keys. | Animation/AnimCompress_RemoveEverySecondKey.h |
|
Functions
Public
Protected
Overridden from UAnimCompress
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual 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). | Animation/AnimCompress_RemoveEverySecondKey.h |
Overridden from UAnimBoneCompressionCodec
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual 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. | Animation/AnimCompress_RemoveEverySecondKey.h |