Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/UWorld
Description
Returns whether the passed in actor is part of any of the loaded levels actors array. Warning: Will return true for pending kill actors!
| Name | ContainsActor |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Classes/Engine/World.h |
| Include Path | #include "Engine/World.h" |
| Source | /Engine/Source/Runtime/Engine/Private/World.cpp |
bool ContainsActor
(
AActor * Actor
) const
true if actor is contained by any of the loaded levels, false otherwise
Parameters
| Name | Remarks |
|---|---|
| Actor | Actor to check whether it is contained by any level |