FGameplayEffectModifierMagnitude::GetStaticMagnitudeIfPossible

Returns the magnitude as it was entered in data.

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

bool GetStaticMagnitudeIfPossible
(
    float InLevel,
    float & OutMagnitude,
    const FString * ContextString
) const

Remarks

Returns the magnitude as it was entered in data. Only applies to ScalableFloat or any other type that can return data without context

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