Module |
|
Header |
/Engine/Source/Editor/Kismet/Public/BlueprintEditorModule.h |
Include |
#include "BlueprintEditorModule.h" |
Source |
/Engine/Source/Editor/Kismet/Private/BlueprintEditorModule.cpp |
virtual TSharedRef< IBlueprintEditor > CreateBlueprintEditor
(
const EToolkitMode::Type Mode,
const TSharedPtr< IToolkitHost > & InitToolkitHost,
const TArray< UBlueprint * > & BlueprintsToEdit,
bool bShouldOpenInDefaultsMode
)
Creates an instance of a Kismet editor object. Only virtual so that it can be called across the DLL boundary.
Note: This function should not be called directly, use one of the following instead:
GEditor->GetEditorSubsystem
()->OpenEditorForAsset
Interface to the new Blueprint editor
Parameter |
Description |
---|---|
Mode |
Mode that this editor should operate in |
InitToolkitHost |
When Mode is WorldCentric, this is the level editor instance to spawn this editor within |
Blueprint |
The blueprint object to start editing |
bShouldOpenInDefaultsMode |
If true, the editor will open in defaults editing mode |