Navigation
API > API/Editor > API/Editor/UnrealEd > API/Editor/UnrealEd/UEditorEngine
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool SpawnPlayFromHereStart
(
UWorld* World, |
Spawns a PlayFromHere playerstart in the given world if there is a location set to spawn in. | Editor/EditorEngine.h | |
bool SpawnPlayFromHereStart
(
UWorld* World, |
Spawns a PlayFromHere playerstart in the given world | Editor/EditorEngine.h |
SpawnPlayFromHereStart(UWorld , AActor &)
Description
Spawns a PlayFromHere playerstart in the given world if there is a location set to spawn in.
| Name | SpawnPlayFromHereStart |
| Type | function |
| Header File | /Engine/Source/Editor/UnrealEd/Classes/Editor/EditorEngine.h |
| Include Path | #include "Editor/EditorEngine.h" |
| Source | /Engine/Source/Editor/UnrealEd/Private/PlayLevel.cpp |
bool SpawnPlayFromHereStart
(
UWorld * World,
AActor *& PlayerStartPIE
)
true if spawn succeeded, false if failed. Returns true even if no object was spawned (due to location not being set).
Parameters
| Name | Remarks |
|---|---|
| World | The World to spawn in (for PIE this may not be GWorld) |
| PlayerStartPIE | A reference to the resulting PlayerStartPIE actor |
SpawnPlayFromHereStart(UWorld , AActor &, const FVector &, const FRotator &)
Description
Spawns a PlayFromHere playerstart in the given world
| Name | SpawnPlayFromHereStart |
| Type | function |
| Header File | /Engine/Source/Editor/UnrealEd/Classes/Editor/EditorEngine.h |
| Include Path | #include "Editor/EditorEngine.h" |
| Source | /Engine/Source/Editor/UnrealEd/Private/PlayLevel.cpp |
bool SpawnPlayFromHereStart
(
UWorld * World,
AActor *& PlayerStartPIE,
const FVector & StartLocation,
const FRotator & StartRotation
)
true if spawn succeeded, false if failed
Parameters
| Name | Remarks |
|---|---|
| World | The World to spawn in (for PIE this may not be GWorld) |
| PlayerStartPIE | A reference to the resulting PlayerStartPIE actor |
| StartLocation | The location to spawn the player in. |
| StartRotation | The rotation to spawn the player at. |