Navigation
Unreal Engine C++ API Reference > Runtime > Engine
Inheritance Hierarchy
- TActorIteratorBase
- FActorIterator
- FSelectedActorIterator
- TActorIterator
References
Module | Engine |
Header | /Engine/Source/Runtime/Engine/Public/EngineUtils.h |
Include | #include "EngineUtils.h" |
Syntax
template<typename Derived>
class TActorIteratorBase
Remarks
Template class used to filter actors by certain characteristics
Constructors
Type | Name | Description | |
---|---|---|---|
![]() |
TActorIteratorBase
(
EActorIteratorType |
Hide the constructors as construction on this class should only be done by subclasses | |
![]() |
TActorIteratorBase
(
const UWorld* InWorld, |
Functions
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
bool | CanIterateLevel
(
const ULevel* Level |
Used to examine whether this level is valid for iteration or not This function should be redefined (thus hiding this one) in a derived class if it wants special level filtering. |
![]() |
void | ClearCurrent () |
Clears the current Actor in the array (setting it to NULL). |
![]() ![]() |
int32 | Returns the number of actors considered thus far. | |
![]() ![]() |
bool | IsActorSuitable
(
const AActor* Actor |
Determines whether this is a valid actor or not. |
Operators
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
Returns whether the iterator has reached the end and no longer points to a suitable actor. | ||
![]() ![]() |
AActor * | operator* () |
Returns the current suitable actor pointed at by the Iterator |
![]() |
void | operator++ () |
Iterates to next suitable actor. |
![]() ![]() |
AActor * | operator-> () |
Returns the current suitable actor pointed at by the Iterator |