Template actor iterator.
More...
#include <ActorIterator.h>
|
class | TActorIteratorBase< TActorIterator > |
|
template<typename ActorType>
class Karma::TActorIterator< ActorType >
Template actor iterator.
- Note
- The use is like so
{
KR_INFO(
"Iterating over actor: {0}", (*ActorItr)->GetName());
}
#define KR_INFO(...)
A macro for logging information in the Client part.
Definition Log.h:117
TActorIterator(const UWorld *InWorld, TSubclassOf< AActor > InClass=ActorType::StaticClass(), EActorIteratorFlags InFlags=EActorIteratorFlags(EActorIteratorFlags::OnlyActiveLevels|EActorIteratorFlags::SkipPendingKill))
A Constructor.
Definition ActorIterator.h:102
◆ TActorIterator() [1/2]
template<typename ActorType>
A Constructor.
- Parameters
-
InWorld | The world whose actors are to be iterated over. |
InClass | The subclass of actors to be iterated over. |
InFlags | Iteration flags indicating which types of levels and actors should be iterated |
- Since
- Karma 1.0.0
◆ TActorIterator() [2/2]
template<typename ActorType>
Constructor for creating an end iterator.
- Since
- Karma 1.0.0
◆ operator*()
template<typename ActorType>
Returns the current suitable actor pointed at by the Iterator.
- Returns
- Current suitable actor
- Since
- Karma 1.0.0
◆ operator->()
template<typename ActorType>
Returns the current suitable actor pointed at by the Iterator.
- Returns
- Current suitable actor
- Since
- Karma 1.0.0
The documentation for this class was generated from the following file: