engine
 
载入中...
搜索中...
未找到
Public 成员函数 | 友元 | 所有成员列表
FSelectedActorIterator类 参考

Selected actor iterator, this is for ease of use but the same can be done by adding EActorIteratorFlags::OnlySelectedActors to 更多...

#include <EngineUtils.h>

+ 类 FSelectedActorIterator 继承关系图:

Public 成员函数

 FSelectedActorIterator (EActorIteratorType)
 Constructor for creating an end iterator
 
 FSelectedActorIterator (UWorld *InWorld)
 Constructor 更多...
 
 FSelectedActorIterator (UWorld *InWorld, TSubclassOf< AActor > InClass)
 Constructor 更多...
 
- Public 成员函数 继承自 TActorIteratorBase< FSelectedActorIterator >
void ClearCurrent ()
 Clears the current Actor in the array (setting it to NULL).
 
int32 GetProgressNumerator () const
 Returns the number of actors considered thus far. 更多...
 
FORCEINLINE operator bool () const
 Returns whether the iterator has reached the end and no longer points to a suitable actor. 更多...
 
FORCEINLINE AActor * operator* () const
 Returns the current suitable actor pointed at by the Iterator 更多...
 
void operator++ ()
 Iterates to next suitable actor.
 
FORCEINLINE AActor * operator-> () const
 Returns the current suitable actor pointed at by the Iterator 更多...
 

友元

class TActorIteratorBase< FSelectedActorIterator >
 

额外继承的成员函数

- Protected 成员函数 继承自 TActorIteratorBase< FSelectedActorIterator >
FORCEINLINE bool CanIterateLevel (ULevel *Level) const
 Used to examine whether this level is valid for iteration or not This function should be redefined (thus hiding this one) in a derived class if it wants special level filtering. 更多...
 
FORCEINLINE bool IsActorSuitable (AActor *Actor) const
 Determines whether this is a valid actor or not. 更多...
 
 TActorIteratorBase (EActorIteratorType)
 Hide the constructors as construction on this class should only be done by subclasses
 

详细描述

Selected actor iterator, this is for ease of use but the same can be done by adding EActorIteratorFlags::OnlySelectedActors to

构造及析构函数说明

◆ FSelectedActorIterator() [1/2]

FSelectedActorIterator::FSelectedActorIterator ( UWorld *  InWorld)
inlineexplicit

Constructor

参数
InWorldThe world whose actors are to be iterated over.

◆ FSelectedActorIterator() [2/2]

FSelectedActorIterator::FSelectedActorIterator ( UWorld *  InWorld,
TSubclassOf< AActor >  InClass 
)
inlineexplicit

Constructor

参数
InWorldThe world whose actors are to be iterated over.
InClassThe type of actors to be iterated over.

该类的文档由以下文件生成: