UAbilitySystemComponent::HasAttributeSetForAttribute

Does this ability system component have this attribute?

Windows
MacOS
Linux

References

Module

GameplayAbilities

Header

/Engine/Plugins/Runtime/GameplayAbilities/Source/GameplayAbilities/Public/AbilitySystemComponent.h

Include

#include "AbilitySystemComponent.h"

Source

/Engine/Plugins/Runtime/GameplayAbilities/Source/GameplayAbilities/Private/AbilitySystemComponent.cpp

Syntax

bool HasAttributeSetForAttribute
(
    FGameplayAttribute Attribute
) const

Remarks

Does this ability system component have this attribute?

Returns

true if Attribute is valid and this ability system component contains an attribute set that contains Attribute. Returns false otherwise.

Parameters

Parameter

Description

Attribute

Handle of the gameplay effect to retrieve target tags from

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