FAggregatorModChannel::SumMods

Helper function to sum all of the mods in the specified array, using the specified modifier bias and evaluation parameters

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

static float SumMods
(
    const TArray< FAggregatorMod > & InMods,
    float Bias,
    const FAggregatorEvaluateParameters & Parameters
)

Remarks

Helper function to sum all of the mods in the specified array, using the specified modifier bias and evaluation parameters

Returns

Summed value of mods

Parameters

Parameter

Description

InMods

Mods to sum

Bias

Bias to apply to modifier magnitudes

Parameters

Evaluation parameters