FGameplayTag::MatchesTagDepth

Check to see how closely two FGameplayTags match.

Choose your operating system:

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