Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/AActor
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void ForEachComponent_Internal
(
TSubclassOf< UActorComponent > InComponentClass, |
Internal helper function to call a compile-time lambda on all components of a given type Use template parameter bClassIsActorComponent to avoid doing unnecessary IsA checks when the ComponentClass is exactly UActorComponent Use template parameter bIncludeFromChildActors to recurse in to ChildActor components and find components of the appropriate type in those actors as well | GameFramework/Actor.h | |
void ForEachComponent_Internal
(
TSubclassOf< UActorComponent > ComponentClass, |
Internal helper function to call a compile-time lambda on all components of a given type Redirects the call to the proper template function specialization for bClassIsActorComponent and bIncludeFromChildActors : | GameFramework/Actor.h |
ForEachComponent_Internal(TSubclassOf< UActorComponent >, Func)
Description
Internal helper function to call a compile-time lambda on all components of a given type Use template parameter bClassIsActorComponent to avoid doing unnecessary IsA checks when the ComponentClass is exactly UActorComponent Use template parameter bIncludeFromChildActors to recurse in to ChildActor components and find components of the appropriate type in those actors as well
| Name | ForEachComponent_Internal |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Classes/GameFramework/Actor.h |
| Include Path | #include "GameFramework/Actor.h" |
template<class ComponentType, bool bClassIsActorComponent, bool bIncludeFromChildActors, typename Func>
void ForEachComponent_Internal
(
TSubclassOf < UActorComponent > InComponentClass,
Func InFunc
) const
ForEachComponent_Internal(TSubclassOf< UActorComponent >, bool, Func)
Description
Internal helper function to call a compile-time lambda on all components of a given type Redirects the call to the proper template function specialization for bClassIsActorComponent and bIncludeFromChildActors :
| Name | ForEachComponent_Internal |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Classes/GameFramework/Actor.h |
| Include Path | #include "GameFramework/Actor.h" |
template<class ComponentType, typename Func>
void ForEachComponent_Internal
(
TSubclassOf < UActorComponent > ComponentClass,
bool bIncludeFromChildActors,
Func InFunc
) const