FGameplayEffectAttributeCaptureSpecContainer::CaptureAttributes

Capture source or target attributes from the specified component.

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 CaptureAttributes
(
    class UAbilitySystemComponent * InAbilitySystemComponent,
    EGameplayEffectAttributeCaptureSource InCaptureSource
)

Remarks

Capture source or target attributes from the specified component. Should be called by the container's owner.

Parameters

Parameter

Description

InAbilitySystemComponent

Component to capture attributes from

InCaptureSource

Whether to capture attributes as source or target

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