UGameplayTagsManager::GetNumberOfTagNodes

Returns the number of parents a particular gameplay tag has.

Windows
MacOS
Linux

References

Module

GameplayTags

Header

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

Include

#include "GameplayTagsManager.h"

Source

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

Syntax

int32 GetNumberOfTagNodes
(
    const FGameplayTag & GameplayTag
) const

Remarks

Returns the number of parents a particular gameplay tag has. Useful as a quick way to determine which tags may be more "specific" than other tags without comparing whether they are in the same hierarchy or anything else. Example: "TagA.SubTagA" has 2 Tag Nodes. "TagA.SubTagA.LeafTagA" has 3 Tag Nodes.

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