FGameplayEffectSpec::GetModifierMagnitude

Get the computed magnitude of the modifier on the spec with the specified index

Windows
MacOS
Linux

References

Module

GameplayAbilities

Header

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

Include

#include "GameplayEffect.h"

Source

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

Syntax

float GetModifierMagnitude
(
    int32 ModifierIdx,
    bool bFactorInStackCount
) const

Remarks

Get the computed magnitude of the modifier on the spec with the specified index

Returns

Computed magnitude

Parameters

Parameter

Description

ModifierIndx

Modifier to get

bFactorInStackCount

If true, the calculation will include the stack count

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