AActor::GetComponentsByTag

Syntax

TArray < UActorComponent * > GetComponentsByTag
(
    TSubclassOf < UActorComponent > ComponentClass,
    FName Tag
) const

Remarks

Gets all the components that inherit from the given class with a given tag.

References

Module

Engine

Header

Runtime/Engine/Classes/GameFramework/Actor.h

Source

Runtime/Engine/Private/Actor.cpp