Navigation
API > API/Developer > API/Developer/CQTest
Class for spawning actors in an ActorTest context(no PIE loaded)
| Name | FActorTestSpawner |
| Type | struct |
| Header File | /Engine/Source/Developer/CQTest/Public/Components/ActorTestSpawner.h |
| Include Path | #include "Components/ActorTestSpawner.h" |
Syntax
struct FActorTestSpawner : public FSpawnHelper
Inheritance Hierarchy
- FSpawnHelper → FActorTestSpawner
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FActorTestSpawner() |
Components/ActorTestSpawner.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual ~FActorTestSpawner() |
Components/ActorTestSpawner.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| GameInstance | UTestGameInstance * | Components/ActorTestSpawner.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
UTestGameInstance * GetGameInstance() |
Returns a pointer to the test game instance. | Components/ActorTestSpawner.h | |
void InitializeGameSubsystems() |
Initialize the GameSubsystem for the test world. | Components/ActorTestSpawner.h |
Protected
Overridden from FSpawnHelper
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual UWorld * CreateWorld() |
Returns a newly created world. | Components/ActorTestSpawner.h |