FGameplayTagContainer::Filter

Returns a filtered version of this container, as if the container were filtered by matches from the parameter container

Windows
MacOS
Linux

Deprecated

  • Deprecated in favor of HasAll

References

Module

GameplayTags

Header

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

Include

#include "GameplayTagContainer.h"

Source

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

Syntax

FGameplayTagContainer Filter
(
    const FGameplayTagContainer & OtherContainer,
    TEnumAsByte< EGameplayTagMatchType::Type > TagMatchType,
    TEnumAsByte< EGameplayTagMatchType::Type > OtherTagMatchType
) const

Remarks

Returns a filtered version of this container, as if the container were filtered by matches from the parameter container

Returns

A FGameplayTagContainer containing the filtered tags

Parameters

Parameter

Description

OtherContainer

The Container to filter against

TagMatchType

Type of match to use for the tags in this container

OtherTagMatchType

Type of match to use for the tags in the OtherContainer param

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