Module |
|
Header |
/Engine/Source/Runtime/GameplayTags/Classes/BlueprintGameplayTagLibrary.h |
Include |
#include "BlueprintGameplayTagLibrary.h" |
Source |
/Engine/Source/Runtime/GameplayTags/Private/BlueprintGameplayTagLibrary.cpp |
static void GetAllActorsOfClassMatchingTagQuery
(
UObject * WorldContextObject,
TSubclassOf< AActor > ActorClass,
const FGameplayTagQuery & GameplayTagQuery,
TArray< AActor * > & OutActors
)
Get an array of all actors of a specific class (or subclass of that class) which match the specified gameplay tag query.
Parameter |
Description |
---|---|
ActorClass |
Class of actors to fetch |
GameplayTagQuery |
Query to match against |