Abstract base class for actor iteration. Implements all operators and relies on IsActorSuitable to be overridden by derived class.
More...
#include <KarmaUtilities.h>
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 (when implemented), this will find actors only in CurrentWorld.
◆ FActorIteratorState() [1/2]
Karma::FActorIteratorState::FActorIteratorState |
( |
| ) |
|
|
inline |
Default constructor.
Handle to the registered OnActorSpawned delegate
- Since
- Karma 1.0.0
◆ FActorIteratorState() [2/2]
Default constructor, initializes everything relevant.
- Parameters
-
InWorld | The UWorld we would want to do iterations within |
InClass | The class type we are iterating, kept for filtering |
- Since
- Karma 1.0.0
◆ ~FActorIteratorState()
Karma::FActorIteratorState::~FActorIteratorState |
( |
| ) |
|
|
inline |
A destructor.
- Since
- Karma 1.0.0
◆ GetActorChecked()
Returns the current suitable actor pointed at by the Iterator.
- Returns
- Current suitable actor
- Since
- Karma 1.0.0
◆ m_ConsideredCount
int32_t Karma::FActorIteratorState::m_ConsideredCount |
Number of actors that have been considered thus far
◆ m_CurrentActor
AActor* Karma::FActorIteratorState::m_CurrentActor |
Current actor pointed to by actor iterator
◆ m_CurrentWorld
const UWorld* Karma::FActorIteratorState::m_CurrentWorld |
Current world we are iterating upon
◆ m_DesiredClass
UClass* Karma::FActorIteratorState::m_DesiredClass |
The class type we are iterating, kept for filtering
◆ m_Index
int32_t Karma::FActorIteratorState::m_Index |
Index of the current element in the object array
◆ m_ObjectArray
Results from the GetObjectsOfClass query
◆ m_ReachedEnd
bool Karma::FActorIteratorState::m_ReachedEnd |
Whether we already reached the end
◆ m_SpawnedActorArray
Contains any actors spawned during iteration
The documentation for this class was generated from the following file: