UAnimInstance::GetRelevantAnimLength

Get the length in seconds of the most relevant animation in the source state

Windows
MacOS
Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/Animation/AnimInstance.h

Include

#include "Animation/AnimInstance.h"

Source

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

Syntax

float GetRelevantAnimLength
(
    int32 MachineIndex,
    int32 StateIndex
)

Remarks

Get the length in seconds of the most relevant animation in the source state

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