Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/UAnimInstance
Description
Get scaled PlayRate for Montage. This accounts for RateScale, so it will reflect the actual play rate seen in game. If Montage reference is NULL, scaled PlayRate for any Active Montage will be returned. If Montage is not playing, 0 is returned.
| Name | Montage_GetEffectivePlayRate |
| 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_GetEffectivePlayRate
(
const UAnimMontage * Montage
) const