Navigation
Unreal Engine C++ API Reference > Runtime > Engine > Animation
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UAnimBoneCompressionSettings
References
Module | Engine |
Header | /Engine/Source/Runtime/Engine/Classes/Animation/AnimBoneCompressionSettings.h |
Include | #include "Animation/AnimBoneCompressionSettings.h" |
Syntax
class UAnimBoneCompressionSettings : public UObject
Remarks
This object is used to wrap a bone compression codec. It allows a clean integration in the editor by avoiding the need to create asset types and factory wrappers for every codec.
Variables
Type | Name | Description | |
---|---|---|---|
![]() |
bool | bForceBelowThreshold | Any codec (even one that increases the size) with a lower error will be used until it falls below the threshold. |
![]() |
TArray< TObjectPtr< UAnimBoneCompressionCodec > > | Codecs | A list of animation bone compression codecs to try. |
![]() |
float | ErrorThreshold | When compressing, the best codec below this error threshold will be used. |
Constructors
Type | Name | Description | |
---|---|---|---|
![]() |
UAnimBoneCompressionSettings
(
const FObjectInitializer& ObjectInitializer |
Functions
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
bool | Returns whether or not we can use these settings to compress. | |
![]() ![]() |
bool | Compress
(
const FCompressibleAnimData& AnimSeq, |
Compresses the animation bones inside the supplied sequence. |
![]() |
UAnimBoneCompressionCodec * | Allow us to convert DDC serialized path back into codec object | |
![]() |
void | PopulateDDCKey
(
const UE::Anim::Compression::FAnimDDCKeyArgs& KeyArgs, |
Generates a DDC key that takes into account the current settings, selected codec, input anim sequence and TargetPlatform |
Overridden from UObject
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
void | GetPreloadDependencies
(
TArray< UObject* >& OutDeps |
Called during cooking. |
Deprecated Functions
Type | Name | Description | |
---|---|---|---|
![]() |
void | PopulateDDCKey
(
FArchive& Ar |
This function has been deprecated. Override the one above instead. |
![]() |
void | PopulateDDCKey
(
const UAnimSequenceBase& AnimSeq, |
This function has been deprecated. Override the one above instead. |