Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/UAnimCurveCompressionCodec
Description
Called on load and when cooking to validate that the compressed data is good. Codecs should perform necessary validation and emit an error when appropriate. e.g: UE_LOG(LogAnimationCompression, Error, TEXT("Bad data!"));
Returns true when the data is valid, false otherwise.
| Name | ValidateCompressedData |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Classes/Animation/AnimCurveCompressionCodec.h |
| Include Path | #include "Animation/AnimCurveCompressionCodec.h" |
virtual bool ValidateCompressedData
(
UObject * DataOwner,
const FCompressedAnimSequence & AnimSeq
) const