UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
FSelectedActorIterator Class Reference

#include <EngineUtils.h>

+ Inheritance diagram for FSelectedActorIterator:

Public Member Functions

 FSelectedActorIterator (const UWorld *InWorld)
 
 FSelectedActorIterator (const UWorld *InWorld, const TSubclassOf< AActor > InClass)
 
 FSelectedActorIterator (EActorIteratorType)
 
- Public Member Functions inherited from TActorIteratorBase< FSelectedActorIterator >
void operator++ ()
 
FORCEINLINE AActoroperator* () const
 
FORCEINLINE AActoroperator-> () const
 
FORCEINLINE operator bool () const
 
void ClearCurrent ()
 
int32 GetProgressNumerator () const
 

Friends

class TActorIteratorBase< FSelectedActorIterator >
 

Additional Inherited Members

- Protected Member Functions inherited from TActorIteratorBase< FSelectedActorIterator >
 TActorIteratorBase (EActorIteratorType)
 
 TActorIteratorBase (const UWorld *InWorld, TSubclassOf< AActor > InClass, const EActorIteratorFlags InFlags)
 
bool IsActorSuitable (const AActor *Actor) const
 
bool CanIterateLevel (const ULevel *Level) const
 

Detailed Description

Selected actor iterator, this is for ease of use but the same can be done by adding EActorIteratorFlags::OnlySelectedActors to

Constructor & Destructor Documentation

◆ FSelectedActorIterator() [1/3]

FSelectedActorIterator::FSelectedActorIterator ( const UWorld InWorld)
inlineexplicit

Constructor

Parameters
InWorldThe world whose actors are to be iterated over.

◆ FSelectedActorIterator() [2/3]

FSelectedActorIterator::FSelectedActorIterator ( const UWorld InWorld,
const TSubclassOf< AActor InClass 
)
inlineexplicit

Constructor

Parameters
InWorldThe world whose actors are to be iterated over.
InClassThe type of actors to be iterated over.

◆ FSelectedActorIterator() [3/3]

FSelectedActorIterator::FSelectedActorIterator ( EActorIteratorType  )
inlineexplicit

Constructor for creating an end iterator

Friends And Related Symbol Documentation

◆ TActorIteratorBase< FSelectedActorIterator >


The documentation for this class was generated from the following file: