FAggregatorModChannelContainer::EvaluateWithBase

Evaluates the result of the specified base value run through each existing evaluation channel's modifiers in numeric order with the specified evaluation parameters.

Windows
MacOS
Linux

References

Module

GameplayAbilities

Header

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

Include

#include "GameplayEffectAggregator.h"

Source

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

Syntax

float EvaluateWithBase
(
    float InlineBaseValue,
    const FAggregatorEvaluateParameters & Parameters
) const

Remarks

Evaluates the result of the specified base value run through each existing evaluation channel's modifiers in numeric order with the specified evaluation parameters. The result of the evaluation of an individual channel acts as the new base value to the channel that follows it until all channels have been evaluated.

EXAMPLE: Base Value: 2, Channel 0 has a +2 Additive Mod, Channel 1 is provided a base value of 4 to run through its modifiers

Returns

Result of the specified base value run through each modifier in each evaluation channel in numeric order

Parameters

Parameter

Description

InlineBaseValue

Initial base value to use in the first evaluation channel

Parameters

Additional evaluation parameters

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