Navigation
Unreal Engine C++ API Reference > Runtime > NavigationSystem > UNavigationSystemV1
References
Module | NavigationSystem |
Header | /Engine/Source/Runtime/NavigationSystem/Public/NavigationSystem.h |
Include | #include "NavigationSystem.h" |
Source | /Engine/Source/Runtime/NavigationSystem/Private/NavigationSystem.cpp |
static int32 GetAllAttachedActors
&40;
const AActor & RootActor,
TArray< AActor &42; > & OutAttachedActors
&41;
Remarks
A helper function that gathers all actors attached to RootActor and fetches them back. The function does consider multi-level attachments. the number of unique attached actors
Parameters
Name | Description |
---|---|
AttachedActors | is getting reset at the beginning of the function. When done it is guaranteed to contain unique, non-null ptrs. It will not include RootActor. |