Navigation
API > API/Plugins > API/Plugins/GameplayAbilities > API/Plugins/GameplayAbilities/FAggregatorModChannel
Description
Evaluates a final value in reverse, attempting to determine a base value from the modifiers within the channel. Certain conditions (such as the use of override mods) can prevent this from computing correctly, at which point false will be returned. This is predominantly used for filling in base values on clients from replication for float-based attributes.
This will be deprecated/removed soon with the transition to struct-based attributes.
| Name | ReverseEvaluate |
| Type | function |
| Header File | /Engine/Plugins/Runtime/GameplayAbilities/Source/GameplayAbilities/Public/GameplayEffectAggregator.h |
| Include Path | #include "GameplayEffectAggregator.h" |
| Source | /Engine/Plugins/Runtime/GameplayAbilities/Source/GameplayAbilities/Private/GameplayEffectAggregator.cpp |
bool ReverseEvaluate
(
float FinalValue,
const FAggregatorEvaluateParameters & Parameters,
float & ComputedValue
) const
True if the reverse evaluation was successful, false if it was not
Parameters
| Name | Remarks |
|---|---|
| FinalValue | Final value to reverse evaluate |
| Parameters | Evaluation parameters to use for the reverse evaluation |
| ComputedValue | [OUT] Reverse evaluated base value |