FAnimationUtils::CalculateTrackHeights

Computes the 'height' of each track, relative to a given animation linkup.

Windows
MacOS
Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Public/AnimationUtils.h

Include

#include "AnimationUtils.h"

Source

/Engine/Source/Runtime/Engine/Private/Animation/AnimationUtils.cpp

Syntax

static void CalculateTrackHeights
(
    const FCompressibleAnimData & CompressibleAnimData,
    int NumTracks,
    TArray< int32 > & TrackHeights
)

Remarks

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...)

Parameters

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

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss