Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/ACharacter
Description
Play Animation Montage on the character mesh. Returns the length of the animation montage in seconds, or 0.f if failed to play.
| Name | PlayAnimMontage |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Classes/GameFramework/Character.h |
| Include Path | #include "GameFramework/Character.h" |
| Source | /Engine/Source/Runtime/Engine/Private/Character.cpp |
UFUNCTION (BlueprintCallable, Category=Animation)
virtual float PlayAnimMontage
(
class UAnimMontage * AnimMontage,
float InPlayRate,
FName StartSectionName
)