Navigation
API > API/Plugins > API/Plugins/GameplayAbilities > API/Plugins/GameplayAbilities/FGameplayEffectCustomExecutionPa-
References
Module | GameplayAbilities |
Header | /Engine/Plugins/Runtime/GameplayAbilities/Source/GameplayAbilities/Public/GameplayEffectExecutionCalculation.h |
Include | #include "GameplayEffectExecutionCalculation.h" |
Source | /Engine/Plugins/Runtime/GameplayAbilities/Source/GameplayAbilities/Private/GameplayEffectExecutionCalculation.cpp |
bool AttemptCalculateCapturedAttributeBaseValue
(
const FGameplayEffectAttributeCaptureDefinition & InCaptureDef,
OUT float & OutBaseValue
) const
Remarks
Attempts to calculate the base value of a captured attribute given the specified parameters. Can fail if the gameplay spec doesn't have a valid capture for the attribute. True if the base value was successfully calculated, false if it was not
Parameters
Name | Description |
---|---|
InCaptureDef | Attribute definition to attempt to calculate the base value of |
OutBaseValue | [OUT] Computed base value |