FGameplayEffectModifierMagnitude::CanCalculateMagnitude

Determines if the magnitude can be properly calculated with the specified gameplay effect spec (could fail if relying on an attribute not present, etc.)

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 CanCalculateMagnitude
(
    const FGameplayEffectSpec & InRelevantSpec
) const

Remarks

Determines if the magnitude can be properly calculated with the specified gameplay effect spec (could fail if relying on an attribute not present, etc.)

Returns

Whether or not the magnitude can be properly calculated

Parameters

Parameter

Description

InRelevantSpec

Gameplay effect spec to check for magnitude calculation

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