Module |
|
Header |
/Engine/Source/Runtime/Engine/Classes/GameFramework/Actor.h |
Include |
#include "GameFramework/Actor.h" |
Source |
/Engine/Source/Runtime/Engine/Private/Actor.cpp |
TArray< UActorComponent * > K2_GetComponentsByClass
(
TSubclassOf< UActorComponent > ComponentClass
) const
Gets all the components that inherit from the given class. Currently returns an array of UActorComponent which must be cast to the correct type. This intended to only be used by blueprints. Use GetComponents() in C++.