Choose your operating system:
Windows
macOS
Linux
Module |
|
Header |
/Engine/Plugins/Runtime/GameplayAbilities/Source/GameplayAbilities/Public/GameplayEffectTypes.h |
Include |
#include "GameplayEffectTypes.h" |
Source |
/Engine/Plugins/Runtime/GameplayAbilities/Source/GameplayAbilities/Private/GameplayEffectTypes.cpp |
namespace GameplayEffectUtilities
{
float GameplayEffectUtilities::ComputeStackedModifierMagnitude
(
float BaseComputedMagnitude,
int32 StackCount,
EGameplayModOp::Type ModOp
)
}
Helper function to compute the stacked modifier magnitude from a base magnitude, given a stack count and modifier operation
Computed modifier magnitude with stack count factored in
Parameter |
Description |
---|---|
BaseComputedMagnitude |
Base magnitude to compute from |
StackCount |
Stack count to use for the calculation |
ModOp |
Modifier operation to use |