Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/UAnimInstance
Description
Get PlayRate for Montage. This does not account for RateScale, so it may not reflect the actual play rate seen in game (see Montage_GetEffectivePlayRate). If Montage reference is NULL, PlayRate for any Active Montage will be returned. If Montage is not playing, 0 is returned.
| Name | Montage_GetPlayRate |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Classes/Animation/AnimInstance.h |
| Include Path | #include "Animation/AnimInstance.h" |
| Source | /Engine/Source/Runtime/Engine/Private/Animation/AnimInstance.cpp |
UFUNCTION (BlueprintPure, Category="Animation|Montage")
float Montage_GetPlayRate
(
const UAnimMontage * Montage
) const