FGameplayEffectSpec::GetSetByCallerMagnitude

Returns the magnitude of a SetByCaller modifier.

Choose your operating system:

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 GetSetByCallerMagnitude
(
    FName DataName,
    bool WarnIfNotFound,
    float DefaultIfNotFound
) const

Remarks

Returns the magnitude of a SetByCaller modifier. Will return 0.f and Warn if the magnitude has not been set.