-
-
Notifications
You must be signed in to change notification settings - Fork 0
Karma's Actor Iteration Process
Ravi Mohan edited this page Jan 10, 2025
·
3 revisions
The pseudo code for incrementing the iterator during the Actor iteration
Note: There is a return keyword in the actorLevel == localCurrentWorld.PersistentLevel heuristic else (heuristically speaking, pun intended) the increment will always assign null to m_CurrentActor.
Usage:
for (TActorIterator<AActor> ActorItr(testWorld); ActorItr; ++ActorItr)
{
// print name
// KR_INFO("Iterating over actor: {0}", (*ActorItr)->GetName());
}