TActorIterator

Template actor iterator. Misc. Iterator types

Windows
MacOS
Linux

Inheritance Hierarchy

TActorIteratorBase

TActorIterator

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Public/EngineUtils.h

Include

#include "EngineUtils.h"

Syntax

template<typename ActorType>
class TActorIterator : public TActorIteratorBase< TActorIterator< ActorType > >

Remarks

Template actor iterator.

  1. Iterator types

Constructors

Name Description

Public function

TActorIterator

(
    EActorIteratorType
)

Constructor for creating an end iterator

Public function

TActorIterator

(
    UWorld* InWorld,
    TSubclassOf< ActorType > InClass,
    EActorIteratorFlags InFlags
)

Constructor

Operators

Name Description

Public function Const

ActorType &#...

 

operator*()

Returns the current suitable actor pointed at by the Iterator

Public function Const

ActorType &#...

 

operator->()

Returns the current suitable actor pointed at by the Iterator

Typedefs

Name

Description

Super

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