FKismetEditorUtilities::CreateBlueprintFromActor

Take an Actor and generate a blueprint based on it. Uses the Actors type as the parent class.

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 * CreateBlueprintFromActor
(
    const FString & Path,
    AActor * Actor,
    bool bReplaceActor,
    bool bKeepMobility,
    UClass * ParentClassOverride,
    bool bOpenInEditor
)

Remarks

Take an Actor and generate a blueprint based on it. Uses the Actors type as the parent class.

Returns

The blueprint created from the actor

Parameters

Parameter

Description

Path

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

Actor

The actor to use as the template for the blueprint

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

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