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

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss