FGameplayTag::MatchesTagDepth

Check to see how closely two FGameplayTags match.

Windows
MacOS
Linux

References

Module

GameplayTags

Header

/Engine/Source/Runtime/GameplayTags/Classes/GameplayTagContainer.h

Include

#include "GameplayTagContainer.h"

Source

/Engine/Source/Runtime/GameplayTags/Private/GameplayTagContainer.cpp

Syntax

int32 MatchesTagDepth
(
    const FGameplayTag & TagToCheck
) const

Remarks

Check to see how closely two FGameplayTags match. Higher values indicate more matching terms in the tags.

Returns

The depth of the match, higher means they are closer to an exact match

Parameters

Parameter

Description

TagToCheck

Tag to match against

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