FKismetEditorUtilities::CreateBlueprintInstanceFromSelection

Creates a new blueprint instance and replaces the provided actor list with the new actor

Windows
MacOS
Linux

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

Syntax

static AActor * CreateBlueprintInstanceFromSelection
(
    class UBlueprint * Blueprint,
    const TArray< AActor * > & SelectedActors,
    const FVector & Location,
    const FRotator & Rotator,
    AActor * AttachParent
)

Remarks

Creates a new blueprint instance and replaces the provided actor list with the new actor

Parameters

Parameter

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

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss