Choose your operating system:
Windows
macOS
Linux
Module |
|
Header |
/Engine/Plugins/Runtime/GameplayAbilities/Source/GameplayAbilities/Public/GameplayEffectAggregator.h |
Include |
#include "GameplayEffectAggregator.h" |
Source |
/Engine/Plugins/Runtime/GameplayAbilities/Source/GameplayAbilities/Private/GameplayEffectAggregator.cpp |
float ReverseEvaluate
(
float FinalValue,
const FAggregatorEvaluateParameters & Parameters
) const
Evaluates a final value in reverse, attempting to determine a base value from the modifiers within all of the channels. The operation proceeds through all channels in reverse order, with the result of the evaluation of an individual channel used as the new final value to the channel that precedes it numerically. If any channel has a condition that prevents it from computing correctly (such as an override mod), this function just returns the original final value. This is predominantly used for filling in base values on clients from replication for float-based attributes.
@note This will be deprecated/removed soon with the transition to struct-based attributes.
If possible, the base value from the reverse evaluation. If not possible, the original final value is returned.
Parameter |
Description |
---|---|
FinalValue |
Final value to reverse evaluate |
Parameters |
Evaluation parameters to use for the reverse evaluation |