FGameplayEffectSpec::AttemptCalculateDurationFromDef

Helper function to attempt to calculate the duration of the spec from its GE definition

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 AttemptCalculateDurationFromDef
(
    OUT float & OutDefDuration
) const

Remarks

Helper function to attempt to calculate the duration of the spec from its GE definition

Returns

True if the calculation was successful, false if it was not

Parameters

Parameter

Description

OutDefDuration

Computed duration of the spec from its GE definition; Not the actual duration of the spec

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