FGameplayEffectSpec::Initialize

Can be called manually but it is preferred to use the 3 parameter constructor

Choose your operating system:

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

void Initialize
(
    const UGameplayEffect * InDef,
    const FGameplayEffectContextHandle & InEffectContext,
    float Level
)

Remarks

Can be called manually but it is preferred to use the 3 parameter constructor