FGameplayEffectModifierMagnitude::AttemptRecalculateMagnitudeFromDependentAggregatorChange

Attempts to recalculate the magnitude given a changed aggregator.

Windows
MacOS
Linux

References

Module

GameplayAbilities

Header

/Engine/Plugins/Runtime/GameplayAbilities/Source/GameplayAbilities/Public/GameplayEffect.h

Include

#include "GameplayEffect.h"

Source

/Engine/Plugins/Runtime/GameplayAbilities/Source/GameplayAbilities/Private/GameplayEffect.cpp

Syntax

bool AttemptRecalculateMagnitudeFromDependentAggregatorChange
(
    const FGameplayEffectSpec & InRelevantSpec,
    OUT float & OutCalculatedMagnitude,
    const FAggregator * ChangedAggregator
) const

Remarks

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.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss