Navigation
API > API/Plugins > API/Plugins/GameplayAbilities > API/Plugins/GameplayAbilities/FGameplayEffectSpec
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 AttemptCalculateDurationFromDef
(
OUT float & OutDefDuration
) const
Remarks
Helper function to attempt to calculate the duration of the spec from its GE definition True if the calculation was successful, false if it was not
Parameters
Name | Description |
---|---|
OutDefDuration | Computed duration of the spec from its GE definition; Not the actual duration of the spec |