EGameplayEffectMagnitudeCalculation

Enumeration outlining the possible gameplay effect magnitude calculation policies.

Windows
MacOS
Linux

References

Module

GameplayAbilities

Header

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

Include

#include "GameplayEffect.h"

Syntax

enum EGameplayEffectMagnitudeCalculation
{
    ScalableFloat,
    AttributeBased,
    CustomCalculationClass,
    SetByCaller,
}

Values

Name

Description

ScalableFloat

Use a simple, scalable float for the calculation.

AttributeBased

Perform a calculation based upon an attribute.

CustomCalculationClass

Perform a custom calculation, capable of capturing and acting on multiple attributes, in either BP or native.

SetByCaller

This magnitude will be set explicitly by the code/blueprint that creates the spec.

Remarks

Enumeration outlining the possible gameplay effect magnitude calculation policies.

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