Navigation
API > API/Plugins > API/Plugins/GameplayAbilities > API/Plugins/GameplayAbilities/FGameplayEffectModifierMagnitude
Description
Attempts to recalculate the magnitude given a changed aggregator. This will only recalculate if we are a modifier that is linked (non snapshot) to the given aggregator.
| Name | AttemptRecalculateMagnitudeFromDependentAggregatorChange |
| Type | function |
| Header File | /Engine/Plugins/Runtime/GameplayAbilities/Source/GameplayAbilities/Public/GameplayEffect.h |
| Include Path | #include "GameplayEffect.h" |
| Source | /Engine/Plugins/Runtime/GameplayAbilities/Source/GameplayAbilities/Private/GameplayEffect.cpp |
bool AttemptRecalculateMagnitudeFromDependentAggregatorChange
(
const FGameplayEffectSpec & InRelevantSpec,
float & OutCalculatedMagnitude,
const FAggregator * ChangedAggregator
) const