Navigation
API > API/Developer > API/Developer/CQTest
Helper object for spawning Actors and other object types in the world.
| Name | FSpawnHelper |
| Type | struct |
| Header File | /Engine/Source/Developer/CQTest/Public/Components/SpawnHelper.h |
| Include Path | #include "Components/SpawnHelper.h" |
Syntax
struct FSpawnHelper
Derived Classes
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual ~FSpawnHelper() |
Destruct the Spawn Helper. | Components/SpawnHelper.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
UWorld & GetWorld() |
Returns a reference to the current world. | Components/SpawnHelper.h | |
ActorType & SpawnActor
(
const FActorSpawnParameters& SpawnParameters, |
Spawn an Actor in the world. | Components/SpawnHelper.h | |
ActorType & SpawnActorAt
(
FVector const& Location, |
Spawn an Actor in the world. | Components/SpawnHelper.h | |
ObjectType & SpawnObject() |
Create a new Object. | Components/SpawnHelper.h |
Protected
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
UWorld * CreateWorld() |
Creates a new world. | Components/SpawnHelper.h |
See Also
-
FMapTestSpawner