FAggregatorModChannelContainer::EvaluateWithBaseToChannel

Similar to EvaluateWithBase (see comment there for details), but terminates early after evaluating the specified final channel instead of continuing through every possible channel

Choose your operating system:

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 EvaluateWithBaseToChannel
(
    float InlineBaseValue,
    const FAggregatorEvaluateParameters & Parameters,
    EGameplayModEvaluationChannel FinalChannel
) const

Remarks

Similar to EvaluateWithBase (see comment there for details), but terminates early after evaluating the specified final channel instead of continuing through every possible channel

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

FinalChannel

Channel to terminate evaluation with (inclusive)