Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/UWorld
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
T * SpawnActor
(
const FActorSpawnParameters& SpawnParameters |
Templated version of SpawnActor that allows you to specify a class type via the template type | Engine/World.h | |
T * SpawnActor
(
UClass* Class, |
Templated version of SpawnActor that allows you to specify the class type via parameter while the return type is a parent class of that type | Engine/World.h | |
AActor * SpawnActor
(
UClass* Class, |
Spawn Actors with given transform and SpawnParameters | Engine/World.h | |
T * SpawnActor
(
FVector const& Location, |
Templated version of SpawnActor that allows you to specify location and rotation in addition to class type via the template type | Engine/World.h | |
T * SpawnActor
(
UClass* Class, |
Templated version of SpawnActor that allows you to specify whole Transform class type via parameter while the return type is a parent class of that type | Engine/World.h | |
AActor * SpawnActor
(
UClass* InClass, |
Spawn Actors with given transform and SpawnParameters | Engine/World.h | |
T * SpawnActor
(
UClass* Class, |
Templated version of SpawnActor that allows you to specify the rotation and location in addition class type via parameter while the return type is a parent class of that type | Engine/World.h |
SpawnActor(const FActorSpawnParameters &)
Description
Templated version of SpawnActor that allows you to specify a class type via the template type
| Name | SpawnActor |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Classes/Engine/World.h |
| Include Path | #include "Engine/World.h" |
template<class T>
T * SpawnActor
(
const FActorSpawnParameters & SpawnParameters
)
SpawnActor(UClass *, const FActorSpawnParameters &)
Description
Templated version of SpawnActor that allows you to specify the class type via parameter while the return type is a parent class of that type
| Name | SpawnActor |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Classes/Engine/World.h |
| Include Path | #include "Engine/World.h" |
template<class T>
T * SpawnActor
(
UClass * Class,
const FActorSpawnParameters & SpawnParameters
)
SpawnActor(UClass , FTransform const , const FActorSpawnParameters &)
Description
Spawn Actors with given transform and SpawnParameters
| Name | SpawnActor |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Classes/Engine/World.h |
| Include Path | #include "Engine/World.h" |
| Source | /Engine/Source/Runtime/Engine/Private/LevelActor.cpp |
AActor * SpawnActor
(
UClass * Class,
FTransform const * Transform,
const FActorSpawnParameters & SpawnParameters
)
Actor that just spawned
Parameters
| Name | Remarks |
|---|---|
| Class | Class to Spawn |
| Transform | World Transform to spawn on |
| SpawnParameters | Spawn Parameters |
SpawnActor(FVector const &, FRotator const &, const FActorSpawnParameters &)
Description
Templated version of SpawnActor that allows you to specify location and rotation in addition to class type via the template type
| Name | SpawnActor |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Classes/Engine/World.h |
| Include Path | #include "Engine/World.h" |
template<class T>
T * SpawnActor
(
FVector const & Location,
FRotator const & Rotation,
const FActorSpawnParameters & SpawnParameters
)
SpawnActor(UClass *, FTransform const &, const FActorSpawnParameters &)
Description
Templated version of SpawnActor that allows you to specify whole Transform class type via parameter while the return type is a parent class of that type
| Name | SpawnActor |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Classes/Engine/World.h |
| Include Path | #include "Engine/World.h" |
template<class T>
T * SpawnActor
(
UClass * Class,
FTransform const & Transform,
const FActorSpawnParameters & SpawnParameters
)
SpawnActor(UClass , FVector const , FRotator const *, const FActorSpawnParameters &)
Description
Spawn Actors with given transform and SpawnParameters
| Name | SpawnActor |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Classes/Engine/World.h |
| Include Path | #include "Engine/World.h" |
| Source | /Engine/Source/Runtime/Engine/Private/LevelActor.cpp |
AActor * SpawnActor
(
UClass * InClass,
FVector const * Location,
FRotator const * Rotation,
const FActorSpawnParameters & SpawnParameters
)
Actor that just spawned
Parameters
| Name | Remarks |
|---|---|
| Class | Class to Spawn |
| Location | Location To Spawn |
| Rotation | Rotation To Spawn |
| SpawnParameters | Spawn Parameters |
SpawnActor(UClass *, FVector const &, FRotator const &, const FActorSpawnParameters &)
Description
Templated version of SpawnActor that allows you to specify the rotation and location in addition class type via parameter while the return type is a parent class of that type
| Name | SpawnActor |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Classes/Engine/World.h |
| Include Path | #include "Engine/World.h" |
template<class T>
T * SpawnActor
(
UClass * Class,
FVector const & Location,
FRotator const & Rotation,
const FActorSpawnParameters & SpawnParameters
)