ACharacter::PlayAnimMontage

Play Animation Montage on the character mesh.

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/GameFramework/Character.h

Include

#include "GameFramework/Character.h"

Source

/Engine/Source/Runtime/Engine/Private/Character.cpp

Syntax

virtual float PlayAnimMontage
(
    class UAnimMontage * AnimMontage,
    float InPlayRate,
    FName StartSectionName
)

Remarks

Play Animation Montage on the character mesh. Returns the length of the animation montage in seconds, or 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
Cancel