Navigation
Unreal Engine C++ API Reference > Runtime > Engine > Engine > UWorld
References
Module | Engine |
Header | /Engine/Source/Runtime/Engine/Classes/Engine/World.h |
Include | #include "Engine/World.h" |
Source | /Engine/Source/Runtime/Engine/Private/World.cpp |
bool ContainsActor
&40;
AActor &42; Actor
&41; const
Remarks
Returns whether the passed in actor is part of any of the loaded levels actors array. Warning: Will return true for pending kill actors! true if actor is contained by any of the loaded levels, false otherwise
Parameters
Name | Description |
---|---|
Actor | Actor to check whether it is contained by any level |