Module |
|
Header |
/Engine/Source/Runtime/Engine/Public/AnimationUtils.h |
Include |
#include "AnimationUtils.h" |
Source |
/Engine/Source/Runtime/Engine/Private/Animation/AnimationUtils.cpp |
static void CalculateTrackHeights
(
const FCompressibleAnimData & CompressibleAnimData,
int NumTracks,
TArray< int32 > & TrackHeights
)
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...)
Parameter |
Description |
---|---|
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 |