UWorld::GetPawnIterator

Choose your operating system:

Windows

macOS

Linux

Deprecated

  • The PawnIterator is an inefficient mechanism for iterating pawns. Please use TActorIterator instead.

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/Engine/World.h

Include

#include "Engine/World.h"

Source

/Engine/Source/Runtime/Engine/Private/World.cpp

Syntax

FConstPawnIterator GetPawnIterator() const

Returns

Returns an iterator for the pawn list.