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; SpawnActorFromClass
&40;
TSubclassOf< class AActor > ActorClass,
FVector Location,
FRotator Rotation,
bool bTransient
&41;
Remarks
Create an actor and place it in the world editor. Can be created from a Blueprint or a Class. The actor will be created in the current level and will be selected. The created actor.
Parameters
| Name | Description |
|---|---|
| ActorClass | Asset to attempt to use for an actor to place. |
| Location | Location of the new actor. |