Navigation
Unreal Engine C++ API Reference > Developer > FunctionalTesting
Inheritance Hierarchy
- FAITestSpawnSetBase
- FAITestSpawnSet
References
Module | FunctionalTesting |
Header | /Engine/Source/Developer/FunctionalTesting/Classes/FunctionalAITest.h |
Include | #include "FunctionalAITest.h" |
Syntax
struct FAITestSpawnSetBase
Remarks
Base struct defining an AI Test Spawn Set that are used in AFunctionalAITestBase tests.
Variables
Type | Name | Description | |
---|---|---|---|
![]() |
uint32: 1 | bEnabled | |
![]() |
TObjectPtr< AActor > | FallbackSpawnLocation | Location used for spawning if spawn info doesn't define one |
![]() |
FName | Name | Give the set a name to help identify it if need be |
Constructors
Type | Name | Description | |
---|---|---|---|
![]() |
Destructors
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
Functions
Type | Name | Description | |
---|---|---|---|
![]() ![]() ![]() |
void | ForEachSpawnInfo
(
TFunctionRef< void(const FAITestSpawnInfoBase&)> Predicate |
Pure virtual method to iterate through the spawn info container and execute Predicate on each in a const-correct way. |
![]() ![]() |
void | ForEachSpawnInfo
(
TFunctionRef< void(FAITestSpawnInfoBase&)> Predicate |
Pure virtual method to iterate through the spawn info container and execute Predicate on each. |
![]() ![]() ![]() |
const FAITestSpawnInfoBase * | GetSpawnInfo
(
const int32 SpawnInfoIndex |
Return the FAITestSpawnInfoBase at this index of the SpawnInfoContainer array. |
![]() ![]() |
FAITestSpawnInfoBase * | GetSpawnInfo
(
const int32 SpawnInfoIndex |
Return the FAITestSpawnInfoBase at this index of the SpawnInfoContainer array. |
![]() ![]() ![]() |
bool | IsValidSpawnInfoIndex
(
const int32 Index |
Return whether the index is valid in the SpawnInfoContainer array. |