FGameplayEffectAttributeCaptureSpecContainer::AddCaptureDefinition

Add a definition to be captured by the owner of the container.

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 AddCaptureDefinition
(
    const FGameplayEffectAttributeCaptureDefinition & InCaptureDefinition
)

Remarks

Add a definition to be captured by the owner of the container. Will not add the definition if its exact match already exists within the container.

Parameters

Parameter

Description

InCaptureDefinition

Definition to capture with

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