Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/FAnimationUtils
Description
Computes the 'height' of each track, relative to a given animation linkup.
The track height is defined as the minimal number of bones away from an end effector (end effectors are 0, their parents are 1, etc...)
Computes the 'height' of each track, relative to a given animation linkup.
The track height is defined as the minimal number of bones away from an end effector (end effectors are 0, their parents are 1, etc...)
| Name | CalculateTrackHeights |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Public/AnimationUtils.h |
| Include Path | #include "AnimationUtils.h" |
| Source | /Engine/Source/Runtime/Engine/Private/Animation/AnimationUtils.cpp |
static void CalculateTrackHeights
(
const FCompressibleAnimData & CompressibleAnimData,
int NumTracks,
TArray < int32 > & TrackHeights
)
Parameters
| Name | Remarks |
|---|---|
| AnimLinkup | The animation linkup |
| NumTracks | The number of tracks |
| TrackHeights | [OUT] The computed track heights |
| BoneData | The bone data to check |
| NumTracks | The number of tracks |
| TrackHeights | [OUT] The computed track heights |