![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
Functions | |
| ENGINE_API bool | CompressAnimationDataTracks (TArray< FRawAnimSequenceTrack > &RawAnimationData, int32 NumberOfKeys, FName ErrorName, float MaxPosDiff=0.0001f, float MaxAngleDiff=0.0003f, float MaxScaleDiff=0.0001f) |
| ENGINE_API bool | CompressAnimationDataTracks (const USkeleton *Skeleton, const TArray< FTrackToSkeletonMap > &TrackToSkeleton, TArray< FRawAnimSequenceTrack > &RawAnimationData, int32 NumberOfKeys, FName ErrorName, float MaxPosDiff=0.0001f, float MaxAngleDiff=0.0003f, float MaxScaleDiff=0.0001f) |
| ENGINE_API bool | CompressRawAnimSequenceTrack (FRawAnimSequenceTrack &RawTrack, int32 NumberOfKeys, FName ErrorName, float MaxPosDiff, float MaxAngleDiff) |
| ENGINE_API bool | CompressRawAnimSequenceTrack (FRawAnimSequenceTrack &RawTrack, int32 NumberOfKeys, FName ErrorName, float MaxPosDiff, float MaxAngleDiff, float MaxScaleDiff) |
| ENGINE_API void | SanitizeRawAnimSequenceTrack (FRawAnimSequenceTrack &RawTrack) |
| bool UE::Anim::Compression::CompressAnimationDataTracks | ( | const USkeleton * | Skeleton, |
| const TArray< FTrackToSkeletonMap > & | TrackToSkeleton, | ||
| TArray< FRawAnimSequenceTrack > & | RawAnimationData, | ||
| int32 | NumberOfKeys, | ||
| FName | ErrorName, | ||
| float | MaxPosDiff = 0.0001f, |
||
| float | MaxAngleDiff = 0.0003f, |
||
| float | MaxScaleDiff = 0.0001f |
||
| ) |
Compress the provided tracks using two methods.
| RawAnimationData | Set of tracks to apply the reduction to |
| NumberOfKeys | Expected number of keys for each component within the tracks |
| ErrorName | Identifier for outer callsite when failing to reduce the data |
| MaxPosDiff | Maximum positional delta when determining whether or not two positional keys are identical |
| MaxAngleDiff | Maximum rotational delta when determining whether or not two rotational keys are identical |
| bool UE::Anim::Compression::CompressAnimationDataTracks | ( | TArray< FRawAnimSequenceTrack > & | RawAnimationData, |
| int32 | NumberOfKeys, | ||
| FName | ErrorName, | ||
| float | MaxPosDiff = 0.0001f, |
||
| float | MaxAngleDiff = 0.0003f, |
||
| float | MaxScaleDiff = 0.0001f |
||
| ) |
Compress the provided tracks using two methods.
| RawAnimationData | Set of tracks to apply the reduction to |
| NumberOfKeys | Expected number of keys for each component within the tracks |
| ErrorName | Identifier for outer callsite when failing to reduce the data |
| MaxPosDiff | Maximum positional delta when determining whether or not two positional keys are identical |
| MaxAngleDiff | Maximum rotational delta when determining whether or not two rotational keys are identical |
| bool UE::Anim::Compression::CompressRawAnimSequenceTrack | ( | FRawAnimSequenceTrack & | RawTrack, |
| int32 | NumberOfKeys, | ||
| FName | ErrorName, | ||
| float | MaxPosDiff, | ||
| float | MaxAngleDiff | ||
| ) |
Compress the provided track by checking for uniform key data according to the provided error metrics
| RawTrack | Individual track to apply the reduction to |
| NumberOfKeys | Expected number of keys for each component within the tracks |
| ErrorName | Identifier for outer callsite when failing to reduce the data |
| MaxPosDiff | Maximum positional delta when determining whether or not two positional keys are identical |
| MaxAngleDiff | Maximum rotational delta when determining whether or not two rotational keys are identical |
| bool UE::Anim::Compression::CompressRawAnimSequenceTrack | ( | FRawAnimSequenceTrack & | RawTrack, |
| int32 | NumberOfKeys, | ||
| FName | ErrorName, | ||
| float | MaxPosDiff, | ||
| float | MaxAngleDiff, | ||
| float | MaxScaleDiff | ||
| ) |
Compress the provided track by checking for uniform key data according to the provided error metrics
| RawTrack | Individual track to apply the reduction to |
| NumberOfKeys | Expected number of keys for each component within the tracks |
| ErrorName | Identifier for outer callsite when failing to reduce the data |
| MaxPosDiff | Maximum positional delta when determining whether or not two positional keys are identical |
| MaxAngleDiff | Maximum rotational delta when determining whether or not two rotational keys are identical |
| MaxScaleDiff | Maximum scale delta when determining whether or not two scale keys are identical |
| void UE::Anim::Compression::SanitizeRawAnimSequenceTrack | ( | FRawAnimSequenceTrack & | RawTrack | ) |
Sanitize the provided track by snapping small scale values to 0, and normalizing any rotational keys
| RawTrack | Individual track to sanitize |