Module |
|
Header |
/Engine/Source/Runtime/Engine/Public/EngineUtils.h |
Include |
#include "EngineUtils.h" |
class FActorIteratorState
Abstract base class for actor iteration. Implements all operators and relies on IsActorSuitable to be overridden by derived class. Note that when Playing In Editor, this will find actors only in CurrentWorld.
Name | Description | ||
---|---|---|---|
|
ActorSpawnedDelegateHandle |
Handle to the registered OnActorSpawned delegate |
|
|
ConsideredCount |
Number of actors that have been considered thus far |
|
|
AActor * |
CurrentActor |
Current actor pointed to by actor iterator |
|
UWorld * |
CurrentWorld |
Current world we are iterating upon |
|
UClass * |
DesiredClass |
The class type we are iterating, kept for filtering |
|
Index |
Index of the current element in the object array |
|
|
ObjectArray |
Results from the GetObjectsOfClass query |
|
|
ReachedEnd |
Whether we already reached the end |
|
|
SpawnedActorArray |
Contains any actors spawned during iteration |
Name | Description | |
---|---|---|
|
FActorIteratorState ( |
Default ctor, inits everything |
Name | Description | |
---|---|---|
|
~FActorIteratorState() |
Name | Description | ||
---|---|---|---|
|
AActor * |
GetActorChecked() |
Returns the current suitable actor pointed at by the Iterator |