Navigation
API > API/Editor > API/Editor/UnrealEd > API/Editor/UnrealEd/Subsystems > API/Editor/UnrealEd/Subsystems/UEditorActorSubsystem
References
| Module | UnrealEd |
| Header | /Engine/Source/Editor/UnrealEd/Public/Subsystems/EditorActorSubsystem.h |
| Include | #include "Subsystems/EditorActorSubsystem.h" |
| Source | /Engine/Source/Editor/UnrealEd/Private/Subsystems/EditorActorSubsystem.cpp |
AActor &42; SpawnActorFromObject
&40;
class UObject &42; ObjectToUse,
FVector Location,
FRotator Rotation,
bool bTransient
&41;
Remarks
Create an actor and place it in the world editor. The Actor can be created from a Factory, Archetype, Blueprint, Class or an Asset. The actor will be created in the current level and will be selected. The created actor.
Parameters
| Name | Description |
|---|---|
| ObjectToUse | Asset to attempt to use for an actor to place. |
| Location | Location of the new actor. |