FKismetEditorUtilities::HarvestBlueprintFromActors

Take a list of Actors and generate a blueprint by harvesting the components they have.

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 * HarvestBlueprintFromActors
(
    const FString & Path,
    const TArray< AActor * > & Actors,
    bool bReplaceInWorld,
    UClass * ParentClass
)

Remarks

Take a list of Actors and generate a blueprint by harvesting the components they have.

Returns

The blueprint created from the actors

Parameters

Parameter

Description

Path

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

Actors

The actor list to use as the template for the new blueprint, typically this is the currently selected actors

bReplaceInWorld

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

ParentClass

The parent class to use when creating the blueprint.

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