UAnimInstance::Montage_Play

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.

References

Module

Engine

Header

Runtime/Engine/Classes/Animation/AnimInstance.h

Source

Runtime/Engine/Private/Animation/AnimInstance.cpp