Karma Engine
Loading...
Searching...
No Matches
Karma::FActorIterator Class Reference

#include <ActorIterator.h>

Inheritance diagram for Karma::FActorIterator:
Collaboration diagram for Karma::FActorIterator:

Public Member Functions

 FActorIterator (const UWorld *InWorld, const EActorIteratorFlags InFlags=EActorIteratorFlags(OnlyActiveLevels|SkipPendingKill))
 
 FActorIterator (const UWorld *InWorld, const TSubclassOf< AActor > InClass, const EActorIteratorFlags InFlags=EActorIteratorFlags(OnlyActiveLevels|SkipPendingKill))
 
- Public Member Functions inherited from Karma::TActorIteratorBase< FActorIterator >
void operator++ ()
 
FORCEINLINE AActoroperator* () const
 
FORCEINLINE AActoroperator-> () const
 
FORCEINLINE operator bool () const
 
void ClearCurrent ()
 
int32 GetProgressNumerator () const
 
FORCEINLINE bool CanIterateLevel (const ULevel *Level) const
 
FORCEINLINE bool IsActorSuitable (const AActor *Actor) const
 

Friends

class TActorIteratorBase< FActorIterator >
 

Additional Inherited Members

- Protected Member Functions inherited from Karma::TActorIteratorBase< FActorIterator >
 TActorIteratorBase (EActorIteratorType)
 
 TActorIteratorBase (const UWorld *InWorld, TSubclassOf< AActor > InClass, const EActorIteratorFlags InFlags)
 

Detailed Description

Actor iterator Note that when Playing In Editor, this will find actors only in CurrentWorld

Constructor & Destructor Documentation

◆ FActorIterator() [1/2]

Karma::FActorIterator::FActorIterator ( const UWorld * InWorld,
const EActorIteratorFlags InFlags = EActorIteratorFlags(OnlyActiveLevels | SkipPendingKill) )
inlineexplicit

Constructor

Parameters
InWorldThe world whose actors are to be iterated over.
InFlagsIteration flags indicating which types of levels and actors should be iterated

◆ FActorIterator() [2/2]

Karma::FActorIterator::FActorIterator ( const UWorld * InWorld,
const TSubclassOf< AActor > InClass,
const EActorIteratorFlags InFlags = EActorIteratorFlags(OnlyActiveLevels | SkipPendingKill) )
inlineexplicit

Constructor

Parameters
InWorldThe world whose actors are to be iterated over.
InClassThe type of actors to be iterated over.
InFlagsIteration flags indicating which types of levels and actors should be iterated

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