Navigation
Unreal Engine C++ API Reference > Runtime > Engine
References
Module | Engine |
Header | /Engine/Source/Runtime/Engine/Public/AnimationUtils.h |
Include | #include "AnimationUtils.h" |
Syntax
class FAnimationUtils
Remarks
A collection of useful functions for skeletal mesh animation.
Functions
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
void | BuildComponentSpaceTransform
(
FTransform& OutTransform, |
Builds the local-to-component matrix for the specified bone. |
![]() ![]() |
void | BuildSkeletonMetaData
(
USkeleton* Skeleton, |
Array to keep track of SkeletalMeshes we have built metadata for, and log out the results just once. |
![]() ![]() |
void | CalculateTrackHeights
(
const FCompressibleAnimData& CompressibleAnimData, |
Computes the 'height' of each track, relative to a given animation linkup. |
![]() ![]() |
bool | CompressAnimBones
(
FCompressibleAnimData& AnimSeq, |
Compresses the animation bones within a sequence with the chosen settings. |
![]() ![]() |
bool | CompressAnimCurves
(
FCompressibleAnimData& AnimSeq, |
Compresses the animation curves within a sequence with the chosen settings. |
![]() ![]() |
void | ComputeCompressionError
(
const FCompressibleAnimData& CompressibleAnimData, |
Utility function to measure the accuracy of a compressed animation. |
![]() ![]() |
void | EnsureAnimSequenceLoaded
(
UAnimSequence& AnimSeq |
Makes sure that the animation sequence and all its dependencies required for compression are loaded. |
![]() ![]() |
void | ExtractTransformForFrameFromTrack
(
const FRawAnimSequenceTrack& RawTrack, |
Extract specific frame from raw track and place in OutAtom. |
![]() ![]() |
void | ExtractTransformForFrameFromTrackSafe
(
const FRawAnimSequenceTrack& RawTrack, |
Extract specific frame from raw track and place in OutAtom (return identity if track is malformed) |
![]() ![]() |
void | ExtractTransformFromCompressionData
(
const FCompressibleAnimData& CompressibleAnimData, |
|
![]() ![]() |
void | ExtractTransformFromTrack
(
const FRawAnimSequenceTrack& RawTrack, |
|
![]() ![]() |
FString | GetAnimationCompressionFormatString
(
enum AnimationCompressionFormat InFormat |
Converts an animation compression type into a human readable string |
![]() ![]() |
FString | GetAnimationKeyFormatString
(
enum AnimationKeyFormat InFormat |
Converts an animation codec format into a human readable string |
![]() ![]() |
int32 | GetAnimTrackIndexForSkeletonBone
(
const int32 InSkeletonBoneIndex, |
|
![]() ![]() |
UAnimBoneCompressionSettings * | Returns the default animation bone compression settings, can never by null. | |
![]() ![]() |
UAnimCurveCompressionSettings * | Returns the default animation curve compression settings, can never by null. | |
![]() ![]() |
UAnimBoneCompressionSettings * | Returns the default animation bone compression settings for the FAnimRecorder, can never by null. | |
![]() ![]() |
UObject * | GetDefaultAnimSequenceOuter
(
UAnimSet* InAnimSet, |
Get default Outer for AnimSequences contained in this AnimSet. |
![]() ![]() |
UVariableFrameStrippingSettings * | Returns the default animation variable frame stripping settings, can never by null. | |
![]() ![]() |
bool | Determines the current setting for recompressing all animations upon load. | |
![]() ![]() |
bool | HasUniformKeySpacing
(
int32 NumFrames, |
Checks a set of key times to see if the spacing is uniform or non-uniform. |
![]() ![]() |
void | Preload the bone, curve and recorder compression settings | |
![]() ![]() |
void | TallyErrorsFromPerturbation
(
const FCompressibleAnimData& CompressibleAnimData, |
Perturbs the bone(s) associated with each track in turn, measuring the maximum error introduced in end effectors as a result |
Deprecated Functions
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
void | ExtractTransformFromCompressionData
(
const FCompressibleAnimData& CompressibleAnimData, |
ExtractTransformFromCompressionData has been deprecated, use different signature |
![]() ![]() |
void | ExtractTransformFromTrack
(
float Time, |
ExtractTransformFromTrack has been deprecated, use different signature |