Choose your operating system:
Windows
macOS
Linux
Module |
|
Header |
/Engine/Plugins/Runtime/GameplayAbilities/Source/GameplayAbilities/Public/GameplayEffect.h |
Include |
#include "GameplayEffect.h" |
Source |
/Engine/Plugins/Runtime/GameplayAbilities/Source/GameplayAbilities/Private/GameplayEffect.cpp |
float CalculateMagnitude
(
const FGameplayEffectSpec & InRelevantSpec
) const
Calculate and return the magnitude of the float given the specified gameplay effect spec.
@note This function assumes (and asserts on) the existence of the required captured attribute within the spec. It is the responsibility of the caller to verify that the spec is properly setup before calling this function.
Evaluated magnitude based upon the spec & calculation policy
Parameter |
Description |
---|---|
InRelevantSpec |
Gameplay effect spec providing the backing attribute capture |