EGameplayEffectMagnitudeCalculation

Enumeration outlining the possible gameplay effect magnitude calculation policies.

Choose your operating system:

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.