FAggregatorModChannel::SumMods

Helper function to sum all of the mods in the specified array, using the specified modifier bias and 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

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

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