Navigation
API > API/Plugins > API/Plugins/GameplayAbilities > API/Plugins/GameplayAbilities/FGameplayEffectAttributeCaptureS-
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 |
bool AttemptCalculateAttributeMagnitudeUpToChannel
(
const FAggregatorEvaluateParameters & InEvalParams,
EGameplayModEvaluationChannel FinalChannel,
OUT float & OutMagnitude
) const
Remarks
Attempts to calculate the magnitude of the captured attribute given the specified parameters, up to the specified evaluation channel (inclusive). Can fail if the spec doesn't have a valid capture yet. True if the magnitude was successfully calculated, false if it was not
Parameters
| Name | Description |
|---|---|
| InEvalParams | Parameters to evaluate the attribute under |
| FinalChannel | Evaluation channel to terminate the calculation at |
| OutMagnitude | [OUT] Computed magnitude |