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

Deprecated

  • Use version that passes parameters via parameter struct

References

Module

UnrealEd

Header

/Engine/Source/Editor/UnrealEd/Public/Kismet2/KismetEditorUtilities.h

Include

#include "Kismet2/KismetEditorUtilities.h"

Syntax

static UBlueprint * CreateBlueprintFromActors
(
    const FString & Path,
    const TArray< AActor * > & Actors,
    bool bReplaceActor,
    UClass * ParentClass,
    bool bOpenInEditor
)

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

Path

The path to use when creating the package for the new blueprint

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

ParentClass

The parent class to use when creating the blueprint.

bOpenInEditor

If true, open the created blueprint in the blueprint editor

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