FKismetEditorUtilities::CreateBlueprintFromActors

Take a list of Actors and generate a blueprint based on it using the Actors as templates for child actor components.

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 UBlueprint * CreateBlueprintFromActors
(
    const FName BlueprintName,
    UPackage * Package,
    const TArray< AActor * > & Actors,
    bool bReplaceInWorld,
    UClass * ParentClass
)

Remarks

Take a list of Actors and generate a blueprint based on it using the Actors as templates for child actor components.

Returns

The blueprint created from the actor

Parameters

Parameter

Description

BlueprintName

The name to use for the Blueprint

Outer

The package to create the blueprint within

Actors

The actors to use when creating child actor components

bReplaceActor

If true, replace the actor in the scene with one based on the created blueprint

bKeepMobility

If true, The mobility of each actor components will be copy

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