Navigation
API > API/Runtime > API/Runtime/Engine
Template class used to filter actors by certain characteristics
| Name | TActorIteratorBase |
| Type | class |
| Header File | /Engine/Source/Runtime/Engine/Public/EngineUtils.h |
| Include Path | #include "EngineUtils.h" |
Syntax
template<typename Derived>
class TActorIteratorBase
Derived Classes
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| Hide the constructors as construction on this class should only be done by subclasses | EngineUtils.h | ||
TActorIteratorBase
(
const UWorld* InWorld, |
EngineUtils.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Flags | EActorIteratorFlags | EngineUtils.h | ||
| State | TOptional< FActorIteratorState > | EngineUtils.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void ClearCurrent() |
Clears the current Actor in the array (setting it to NULL). | EngineUtils.h | |
int32 GetProgressNumerator () |
Returns the number of actors considered thus far. | EngineUtils.h |
Protected
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
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. | EngineUtils.h | |
bool IsActorSuitable
(
const AActor* Actor |
Determines whether this is a valid actor or not. | EngineUtils.h |
Operators
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
operator bool() |
Returns whether the iterator has reached the end and no longer points to a suitable actor. | EngineUtils.h | |
AActor * operator*() |
Returns the current suitable actor pointed at by the Iterator | EngineUtils.h | |
void operator++() |
Iterates to next suitable actor. | EngineUtils.h | |
AActor * operator->() |
Returns the current suitable actor pointed at by the Iterator | EngineUtils.h |