FAITestSpawnSetBase

[FAITestSpawnSetBase](API\Developer\FunctionalTesting\FAITestSpawnSetBase)

Unreal Engine C++ API Reference > Developer > FunctionalTesting

Inheritance Hierarchy

  • FAITestSpawnSetBase

References

   
Module FunctionalTesting
Header /Engine/Source/Developer/FunctionalTesting/Classes/FunctionalAITest.h
Include #include "FunctionalAITest.h"

Syntax

struct FAITestSpawnSetBase  

Remarks

FAITestSpawnSetBase

Base struct defining an AI Test Spawn Set that are used in AFunctionalAITestBase tests.

Variables

Type Name Description
uint32: 1 bEnabled  
TObjectPtr< AAc... 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
  FAITestSpawnSetBase ()  

Destructors

Type Name Description
  ~FAITestSpawnSetBase ()  

Functions

Type Name Description
void ForEachSpawnInfo ( TFunctionRef< void(const FAITestSpa... ) Pure virtual method to iterate through the spawn info container and execute Predicate on each in a const-correct way.
void ForEachSpawnInfo ( TFunctionRef< void(FAITestSpawnInfo... ) Pure virtual method to iterate through the spawn info container and execute Predicate on each.
const FAITes... GetSpawnInfo ( const int32 SpawnInfoIndex ) Return the FAITestSpawnInfoBase at this index of the SpawnInfoContainer array.
FAITestSpawn... 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.

Ask questions and help your peers Developer Forums

Write your own tutorials or read those from others Learning Library