Navigation
Unreal Engine C++ API Reference > Editor > UnrealEd > Kismet2 > FKismetEditorUtilities
References
Module | UnrealEd |
Header | /Engine/Source/Editor/UnrealEd/Public/Kismet2/KismetEditorUtilities.h |
Include | #include "Kismet2/KismetEditorUtilities.h" |
Source | /Engine/Source/Editor/UnrealEd/Private/Kismet2/Kismet2.cpp |
static AActor &42; CreateBlueprintInstanceFromSelection
&40;
class UBlueprint &42; Blueprint,
const TArray< AActor &42; > & SelectedActors,
const FVector & Location,
const FRotator & Rotator,
AActor &42; AttachParent
&41;
Remarks
Creates a new blueprint instance and replaces the provided actor list with the new actor
Parameters
Name | Description |
---|---|
Blueprint | The blueprint class to create an actor instance from |
SelectedActors | The list of currently selected actors in the editor |
Location | The location of the newly created actor |
Rotator | The rotation of the newly created actor |
AttachParent | The actor the newly created instance should be attached to if any |