FGameplayEffectAttributeCaptureSpec::AttemptAddAggregatorModsToAggregator

Attempts to populate the specified aggregator with all of the mods of the backing captured aggregator.

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

bool AttemptAddAggregatorModsToAggregator
(
    OUTFAggregator & OutAggregatorToAddTo
) const

Remarks

Attempts to populate the specified aggregator with all of the mods of the backing captured aggregator. Can fail if the spec doesn't have a valid capture yet.

Returns

True if the aggregator had mods successfully added to it, false if it did not

Parameters

Parameter

Description

OutAggregatorToAddTo

[OUT] Aggregator with mods appended, if possible

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