UAnimInstance::Montage_Play

Plays an animation montage.

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 Montage_Play
(
    UAnimMontage * MontageToPlay,
    float InPlayRate,
    EMontagePlayReturnType ReturnValueType,
    float InTimeToStartMontageAt,
    bool bStopAllMontages
)

Remarks

Plays an animation montage. Returns the length of the animation montage in seconds. Returns 0.f if failed to play.

Play a Montage. Returns Length of Montage in seconds. Returns 0.f if failed to play.

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