engine
 
载入中...
搜索中...
未找到
Public 成员函数 | Public 属性 | 所有成员列表
FActorIteratorState类 参考

Abstract base class for actor iteration. 更多...

#include <EngineUtils.h>

Public 成员函数

 FActorIteratorState (UWorld *InWorld, TSubclassOf< AActor > InClass)
 Default ctor, inits everything
 
FORCEINLINE AActor * GetActorChecked () const
 Returns the current suitable actor pointed at by the Iterator 更多...
 

Public 属性

FDelegateHandle ActorSpawnedDelegateHandle
 Handle to the registered OnActorSpawned delegate

 
int32 ConsideredCount
 Number of actors that have been considered thus far

 
AActor * CurrentActor
 Current actor pointed to by actor iterator

 
UWorld * CurrentWorld
 Current world we are iterating upon

 
UClass * DesiredClass
 The class type we are iterating, kept for filtering

 
int32 Index
 index of the current element in the object array

 
TArray< UObject * > ObjectArray
 Results from the GetObjectsOfClass query

 
bool ReachedEnd
 Whether we already reached the end

 
TArray< AActor * > SpawnedActorArray
 Contains any actors spawned during iteration

 

详细描述

Abstract base class for actor iteration.

Implements all operators and relies on IsActorSuitable to be overridden by derived class. Note that when Playing In Editor, this will find actors only in CurrentWorld.

成员函数说明

◆ GetActorChecked()

FORCEINLINE AActor * FActorIteratorState::GetActorChecked ( ) const
inline

Returns the current suitable actor pointed at by the Iterator

返回
Current suitable actor

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