FConstPawnIterator

Imitation iterator class that attempts to provide the basic interface that [FConstPawnIterator](API\Runtime\Engine\Engine\FConstPawnIterator) previously did when a typedef of [TArray](API\Runtime\Core\Containers\TArray)<[TWeakObjectPtr](API\Runtime\Core\UObject\TWeakObjectPtr)>::Iterator.

Windows
MacOS
Linux

References

Module

Engine

Header

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

Include

#include "Engine/World.h"

Syntax

class FConstPawnIterator

Remarks

Imitation iterator class that attempts to provide the basic interface that FConstPawnIterator previously did when a typedef of TArray <TWeakObjectPtr<APawn> >::Iterator. In general you should prefer not to use this iterator and instead use TActorIterator<APawn> or TActorRange<APawn> (or the desired more derived type). This iterator will likely be deprecated in a future release.

Constructors

Name Description

Public function

FConstPawnIterator

(
    FConstPawnIterator &&
)

Destructors

Name Description

Public function

~FConstPawnIterator()

Operators

Deprecated Functions

Name Description

Public function

FConstPawnIt ...

 

operator--()

Decrement operator no longer means anything on a pawn iterator

Public function

FConstPawnIt ...

 

operator--

(
    int
)

Decrement operator no longer means anything on a pawn iterator

Select Skin
Light
Dark

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback