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
|
inlineexplicit |
Constructor
| InWorld | The world whose actors are to be iterated over. |
|
inlineexplicit |
Constructor
| InWorld | The world whose actors are to be iterated over. |
| InClass | The type of actors to be iterated over. |